You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to use code generation with key?: T instead key: T | null because when we define gql query without some property we expect that the undefined property doesn't exists. That's different from exists with null value
The solution you'd like
edit generate.ts adding maybeValue: string with 'T | null' default on const codegenConfig {}
Possible alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Your use case
We need to use code generation with
key?: T
insteadkey: T | null
because when we define gql query without some property we expect that the undefined property doesn't exists. That's different from exists with null valueThe solution you'd like
edit
generate.ts
addingmaybeValue: string with 'T | null' default
onconst codegenConfig {}
Possible alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: