diff --git a/src/execution/__tests__/abstract-test.js b/src/execution/__tests__/abstract-test.js index d835282e4a..c5f6a9df8e 100644 --- a/src/execution/__tests__/abstract-test.js +++ b/src/execution/__tests__/abstract-test.js @@ -413,7 +413,7 @@ describe('Execute: Handles execution of abstract types', () => { 'Abstract type FooInterface must resolve to an Object type at ' + 'runtime for field Query.foo with value "dummy", received "[]". ' + 'Either the FooInterface type should provide a "resolveType" ' + - 'function or each possible types should provide an "isTypeOf" function.', + 'function or each possible type should provide an "isTypeOf" function.', locations: [{ line: 1, column: 3 }], path: ['foo'], }, diff --git a/src/execution/execute.js b/src/execution/execute.js index db26b9a396..d1d5d3d2c2 100644 --- a/src/execution/execute.js +++ b/src/execution/execute.js @@ -1048,7 +1048,7 @@ function ensureValidRuntimeType( `runtime for field ${info.parentType.name}.${info.fieldName} with ` + `value ${inspect(result)}, received "${inspect(runtimeType)}". ` + `Either the ${returnType.name} type should provide a "resolveType" ` + - 'function or each possible types should provide an ' + + 'function or each possible type should provide an ' + '"isTypeOf" function.', fieldNodes, );