Why do we have to pass { nullable: true }
when we declare a field with as optional with ?:
? Doesn't ?:
already indicate that the field is optional?
#861
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ugultopu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From https://typegraphql.com/docs/types-and-fields.html.
Beta Was this translation helpful? Give feedback.
All reactions