Closed
Description
Seems that graphql-js treats args that are undefined (not present in json) and which are null (null
value in json) the same way. Which is generally fine.
But I have situation where I have nullable field with defaultValue
and I expected that if I explicitly send name: null
I will get args.name = null
and not the defaultValue
, which is graphql-js behavior.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels