Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test that proofs that 833 is fixed. (#2587)
- Loading branch information
1 parent
e7774b9
commit 39ff240
Showing
3 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...hots__/EnumTypeSchemaFirstTests.Try_Using_A_Enum_Value_That_Is_Not_Bound_GOODEVENING.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"errors": [ | ||
{ | ||
"message": "The specified argument value does not match the argument type.", | ||
"locations": [ | ||
{ | ||
"line": 1, | ||
"column": 20 | ||
} | ||
], | ||
"path": [ | ||
"hello" | ||
], | ||
"extensions": { | ||
"argument": "greetings", | ||
"argumentValue": "\u0022GOODEVENING\u0022", | ||
"locationType": "Greetings", | ||
"specifiedBy": "http://spec.graphql.org/June2018/#sec-Values-of-Correct-Type" | ||
} | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
...ots__/EnumTypeSchemaFirstTests.Try_Using_A_Enum_Value_That_Is_Not_Bound_GOOD_EVENING.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"errors": [ | ||
{ | ||
"message": "The specified argument value does not match the argument type.", | ||
"locations": [ | ||
{ | ||
"line": 1, | ||
"column": 20 | ||
} | ||
], | ||
"path": [ | ||
"hello" | ||
], | ||
"extensions": { | ||
"argument": "greetings", | ||
"argumentValue": "\u0022GOOD_EVENING\u0022", | ||
"locationType": "Greetings", | ||
"specifiedBy": "http://spec.graphql.org/June2018/#sec-Values-of-Correct-Type" | ||
} | ||
} | ||
] | ||
} |