Issue with generated GraphQL input CreateInput
when using @default(uuid())
inside Prisma Schema
#62
Labels
CreateInput
when using @default(uuid())
inside Prisma Schema
#62
Great work! We used the beta version and that worked smoothly. After updating to the RC it seems that ID fields that are auto-populated by the database are mandatory when executing the create* mutations. That means: When creating a record I have to handover the id although the id is autogenerated in the database:
Here is the example:
schema.prisma:
generated schema.gql (using beta):
generated schema.gql (after upgrade to RC):
Could you fix that? Thanks!
The text was updated successfully, but these errors were encountered: