File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -639,6 +639,13 @@ Note: Variable values are not coerced because they are expected to be coerced
639
639
before executing the operation in {CoerceVariableValues()}, and valid operations
640
640
must only allow usage of variables of appropriate types.
641
641
642
+ Note: When a default value exists for a variable definition, the type of the
643
+ variable is allowed to be nullable even if it is used in a non-nullable
644
+ position, see
645
+ [ Allowing Optional Variables When Default Values Exist] ( #sec-All-Variable-Usages-Are-Allowed.Allowing-Optional-Variables-When-Default-Values-Exist )
646
+ in Validation. If the value for a variable is explicitly {null} and is used in a
647
+ non-nullable position, a _ field error_ will be raised.
648
+
642
649
### Value Resolution
643
650
644
651
While nearly all of GraphQL execution can be described generically, ultimately
You can’t perform that action at this time.
0 commit comments