Skip to content

Commit

Permalink
Support GraphQL v15
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Apr 7, 2020
1 parent 18e8993 commit cada99d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"uuid": "^3.1.0"
},
"peerDependencies": {
"graphql": "^0.13.0 || ^14.0.0"
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0"
},
"devDependencies": {
"@types/chai": "4.0.10",
Expand All @@ -69,7 +69,7 @@
"chai": "^4.1.2",
"dateformat": "^3.0.3",
"express": "^4.16.2",
"graphql": "^14.5.8",
"graphql": "^15.0.0",
"graphql-subscriptions": "^1.0.0",
"graphql-type-json": "^0.1.4",
"istanbul": "^0.4.5",
Expand Down
5 changes: 4 additions & 1 deletion src/test/testingSchemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
ExecutionResult,
DocumentNode,
} from 'graphql';
import { ExecutionResultDataDefault } from 'graphql/execution/execute';
import {
ApolloLink,
Observable,
Expand All @@ -23,6 +22,10 @@ import makeRemoteExecutableSchema, {
import introspectSchema from '../stitching/introspectSchema';
import { PubSub } from 'graphql-subscriptions';

type ExecutionResultDataDefault = {
[key: string]: any;
}

export type Location = {
name: string;
coordinates: string;
Expand Down

0 comments on commit cada99d

Please sign in to comment.