Replies: 1 comment 3 replies
-
No, generated inputs match Prisma Client API. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the example code on https://prisma.typegraphql.com/docs/basics/usage,
id
is a required field. However, when looking at an auto-generated Input type likeUserWhereUniqueInput
, theid
field isn't required,is there a way to force typegraphql-prisma to make the field required on (generated) Input types, as well?
Beta Was this translation helpful? Give feedback.
All reactions