Skip to content

Commit 6be3b30

Browse files
authored
Update express-graphql (#143)
This fixes a peer dep warning for graphql 15
1 parent a77d08b commit 6be3b30

File tree

3 files changed

+34
-10
lines changed

3 files changed

+34
-10
lines changed

package-lock.json

Lines changed: 32 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"chalk": "4.0.0",
6464
"cors": "2.8.5",
6565
"express": "4.17.1",
66-
"express-graphql": "0.9.0",
66+
"express-graphql": "0.10.2",
6767
"faker": "4.1.0",
6868
"graphql": "14.5.8",
6969
"graphql-voyager": "1.0.0-rc.31",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as chalk from 'chalk';
88
import * as open from 'open';
99
import * as cors from 'cors';
1010
import * as bodyParser from 'body-parser';
11-
import * as graphqlHTTP from 'express-graphql';
11+
import { graphqlHTTP } from 'express-graphql';
1212
import { Source, printSchema } from 'graphql';
1313
import { express as voyagerMiddleware } from 'graphql-voyager/middleware';
1414

0 commit comments

Comments
 (0)