Having a problem getting VSCode to pick up a one-t...
# orm-help
a
Having a problem getting VSCode to pick up a one-to-one relation. I see the relation in the object that the server returns but VSCode is acting like the property doesn’t exist even after running prisma generate.
j
Did you run
prisma save
and
prisma migrate up
? If you do, restart your VSCode and try again. Does your intellisense takes a while to load? When you hover over the property, does it say "loading"?
a
I’ve done the migration stuff, generated a schema, restarted VS Code, it’s not slow and recognizes other relations just fine.
r
Hey @Aaron Fulkerson 👋 Could you share your schema so that I can reproduce?
a
@Ryan sorry for not saying so but I figured it out. It was a custom type on my end that was messing things up. I’m not sure why I was confused.
💯 1
🙌 1