Replies: 1 comment 1 reply
-
I have the same question. Is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I see issues between two code generators I use, and yours uses
null
for typescript instead ofundefined
. Usuallynull
is frowned upon whenundefined
is meant, andnull
indicates a special case of being nullable. However, after observing the output I conclude that nullable is not the intent.So wouldn't it be on spec to change
to
?
(I am using
"@graphql-codegen/cli": "2.6.2"
btw.)I am probably not aware of the reasoning behind this, and would love to be pointed there.
Beta Was this translation helpful? Give feedback.
All reactions