Replies: 1 comment
-
It's nullable and optional because input GetUserArgs {
offset: Int = 0
} If you want to make it mandatory you have to add an exclamation mark near. But at this case it can not have a fallback value then. input GetUserArgs {
offset: Int!
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, for this schema:
And this codegen configuration:
Outputs
where InputMaybe defined as
I dont understand why
offset
is optional and nullable in that case?Changing to Int! does not help as it stays optional.
Beta Was this translation helpful? Give feedback.
All reactions