Is there a way to auto generate schema.prisma based on the nexus model? #1014
Unanswered
apieceofbart
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am following tutorial and I can see that after creating a Post model in typescript I need to manual add it to
schema.prisma
. This seems like a duplicated work. I could of course manually change my schema in database and use prisma introspect and generate to update schema.prisma but this can get out of sync with my nexus models quickly.Am I missing something obvious?
Beta Was this translation helpful? Give feedback.
All reactions