Skip to content

Commit 4dc4574

Browse files
Merge pull request #14 from michieldewilde/patch-readme
Update README.md to include GraphQLError import
2 parents aa9fefd + 1a7e9cc commit 4dc4574

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Resolvers are provided a mutable context object that is shared between all resol
175175
``` javascript
176176
import express from 'express';
177177
import bodyParser from 'body-parser';
178+
import { GraphQLError } from 'graphql';
178179
import { graphqlExpress } from 'apollo-server-express';
179180
import { createExpressContext } from 'apollo-resolvers';
180181
import { formatError as apolloFormatError, createError } from 'apollo-errors';

0 commit comments

Comments
 (0)