@@ -226,7 +226,7 @@ describe('Execute: Handles inputs', () => {
226
226
errors : [
227
227
{
228
228
message :
229
- 'Argument "input" has invalid value ["foo", "bar", "baz"].' ,
229
+ 'Argument "input" of type "TestInputObject" has invalid value ["foo", "bar", "baz"].' ,
230
230
path : [ 'fieldWithObjectInput' ] ,
231
231
locations : [ { line : 3 , column : 41 } ] ,
232
232
} ,
@@ -262,7 +262,7 @@ describe('Execute: Handles inputs', () => {
262
262
errors : [
263
263
{
264
264
message :
265
- 'Argument "input" has invalid value { c: "foo", e: "bar" }.' ,
265
+ 'Argument "input" of type "TestInputObject" has invalid value { c: "foo", e: "bar" }.' ,
266
266
path : [ 'fieldWithObjectInput' ] ,
267
267
locations : [ { line : 3 , column : 41 } ] ,
268
268
} ,
@@ -462,7 +462,7 @@ describe('Execute: Handles inputs', () => {
462
462
errors : [
463
463
{
464
464
message :
465
- 'Variable "$input" got invalid value { a: "foo", b: "bar" }; Field "c" of required type "String!" was not provided.' ,
465
+ 'Variable "$input" got invalid value { a: "foo", b: "bar" }; Field "TestInputObject. c" of required type "String!" was not provided.' ,
466
466
locations : [ { line : 2 , column : 16 } ] ,
467
467
} ,
468
468
] ,
@@ -481,12 +481,12 @@ describe('Execute: Handles inputs', () => {
481
481
errors : [
482
482
{
483
483
message :
484
- 'Variable "$input" got invalid value { a: "foo" } at "input.na"; Field "c" of required type "String!" was not provided.' ,
484
+ 'Variable "$input" got invalid value { a: "foo" } at "input.na"; Field "TestInputObject. c" of required type "String!" was not provided.' ,
485
485
locations : [ { line : 2 , column : 18 } ] ,
486
486
} ,
487
487
{
488
488
message :
489
- 'Variable "$input" got invalid value { na: { a: "foo" } }; Field "nb" of required type "String!" was not provided.' ,
489
+ 'Variable "$input" got invalid value { na: { a: "foo" } }; Field "TestNestedInputObject. nb" of required type "String!" was not provided.' ,
490
490
locations : [ { line : 2 , column : 18 } ] ,
491
491
} ,
492
492
] ,
@@ -1042,7 +1042,8 @@ describe('Execute: Handles inputs', () => {
1042
1042
} ,
1043
1043
errors : [
1044
1044
{
1045
- message : 'Argument "input" has invalid value WRONG_TYPE.' ,
1045
+ message :
1046
+ 'Argument "input" of type "String" has invalid value WRONG_TYPE.' ,
1046
1047
locations : [ { line : 3 , column : 48 } ] ,
1047
1048
path : [ 'fieldWithDefaultArgumentValue' ] ,
1048
1049
} ,
0 commit comments