@@ -226,7 +226,7 @@ describe('Execute: Handles inputs', () => {
226226 errors : [
227227 {
228228 message :
229- 'Argument "input" has invalid value ["foo", "bar", "baz"].' ,
229+ 'Argument "input" of type "TestInputObject" has invalid value ["foo", "bar", "baz"].' ,
230230 path : [ 'fieldWithObjectInput' ] ,
231231 locations : [ { line : 3 , column : 41 } ] ,
232232 } ,
@@ -262,7 +262,7 @@ describe('Execute: Handles inputs', () => {
262262 errors : [
263263 {
264264 message :
265- 'Argument "input" has invalid value { c: "foo", e: "bar" }.' ,
265+ 'Argument "input" of type "TestInputObject" has invalid value { c: "foo", e: "bar" }.' ,
266266 path : [ 'fieldWithObjectInput' ] ,
267267 locations : [ { line : 3 , column : 41 } ] ,
268268 } ,
@@ -462,7 +462,7 @@ describe('Execute: Handles inputs', () => {
462462 errors : [
463463 {
464464 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.' ,
466466 locations : [ { line : 2 , column : 16 } ] ,
467467 } ,
468468 ] ,
@@ -481,12 +481,12 @@ describe('Execute: Handles inputs', () => {
481481 errors : [
482482 {
483483 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.' ,
485485 locations : [ { line : 2 , column : 18 } ] ,
486486 } ,
487487 {
488488 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.' ,
490490 locations : [ { line : 2 , column : 18 } ] ,
491491 } ,
492492 ] ,
@@ -1042,7 +1042,8 @@ describe('Execute: Handles inputs', () => {
10421042 } ,
10431043 errors : [
10441044 {
1045- message : 'Argument "input" has invalid value WRONG_TYPE.' ,
1045+ message :
1046+ 'Argument "input" of type "String" has invalid value WRONG_TYPE.' ,
10461047 locations : [ { line : 3 , column : 48 } ] ,
10471048 path : [ 'fieldWithDefaultArgumentValue' ] ,
10481049 } ,
0 commit comments