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
Setting the default value of a field argument to null should be treated as if the field argument value would be set to another value, which is ChangeType.FieldArgumentDefaultChanged.
dotansimha
changed the title
Distinguish between undefined and null field argument changed
Distinguish between undefined and null field argument changed
Feb 11, 2025
Is your feature request related to a problem? Please describe.
and
are not the same. Within the resolver you would either get
undefined
ornull
for thefoo
argument value.This does not only apply to JavaScript land, this also exists in other languages.
Null
value came from graphql-rust/juniper#183Describe the solution you'd like
Setting the default value of a field argument to
null
should be treated as if the field argument value would be set to another value, which isChangeType.FieldArgumentDefaultChanged
.Describe alternatives you've considered
None
Additional context
I like turtles
PR with tests: #2387
The text was updated successfully, but these errors were encountered: