How to generate Prisma composite types (objects) in nexus-prisma? #618
Unanswered
apriltaoyvr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm trying to convert a prisma schema to nexus, but only models are being generated as graphql types.
If I reference a prisma composite type as a field (i.e.
t.field(Model.compositeType)
), it is invalid because it is expecting a preexisting objectType. Is it currently only possible to generate prisma models as types in nexus-prisma?Beta Was this translation helpful? Give feedback.
All reactions