Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/execution/__tests__/abstract-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
Expand Down
2 changes: 1 addition & 1 deletion src/execution/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down