Optional<T> has incorrect behavior when value for input argument does not exist in gql variables #6425
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Product
Hot Chocolate
Describe the bug
When using the Optional type for input arguments, get incorrect behavior when there are no variable values for optional arguments in the gql query.
I receive in resolver value for this argument {hasValue: true, value: null}
I expect {hasValue: false, value: null(unspecified)}.
Steps to reproduce
Relevant log output
No response
Additional Context?
No response
Version
13.4.0
The text was updated successfully, but these errors were encountered: