Skip to content

Commit e67feb2

Browse files
committed
Clarify that variables are always allowed when part of a custom scalar literal value
Fixes graphql#1011
1 parent 41382b0 commit e67feb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/Section 5 -- Validation.md

+1
Original file line numberDiff line numberDiff line change
@@ -1890,6 +1890,7 @@ variable.
18901890

18911891
IsVariableUsageAllowed(variableDefinition, variableUsage):
18921892

1893+
- If {variableUsage} is nested in a custom scalar literal value, return {true}.
18931894
- Let {variableType} be the expected type of {variableDefinition}.
18941895
- Let {locationType} be the expected type of the {Argument}, {ObjectField}, or
18951896
{ListValue} entry where {variableUsage} is located.

0 commit comments

Comments
 (0)