From d4fac14e09e0c355ca1d803cc4139b66d52ae32f Mon Sep 17 00:00:00 2001 From: Joe Lutz Date: Thu, 12 May 2016 10:28:50 -0500 Subject: [PATCH] Fix typo --- src/type/__tests__/schema-test.js | 2 +- src/type/schema.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/type/__tests__/schema-test.js b/src/type/__tests__/schema-test.js index 881bc221b5..fd4b964548 100644 --- a/src/type/__tests__/schema-test.js +++ b/src/type/__tests__/schema-test.js @@ -53,7 +53,7 @@ describe('Type System: Schema', () => { }; expect(checkPossible).to.throw( 'Could not find possible implementing types for Interface in schema. ' + - 'Check that schema.types is defined and is an array ofall possible ' + + 'Check that schema.types is defined and is an array of all possible ' + 'types in the schema.' ); }); diff --git a/src/type/schema.js b/src/type/schema.js index 65dee8ac14..1beb360c3b 100644 --- a/src/type/schema.js +++ b/src/type/schema.js @@ -191,7 +191,7 @@ export class GraphQLSchema { invariant( Array.isArray(possibleTypes), `Could not find possible implementing types for ${abstractType} in ` + - 'schema. Check that schema.types is defined and is an array of' + + 'schema. Check that schema.types is defined and is an array of ' + 'all possible types in the schema.' ); possibleTypeMap[abstractType.name] =