Skip to content

Commit

Permalink
using graphql-tools from apollo-server
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukhu committed Oct 3, 2018
1 parent 3082c72 commit f272a63
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 16 deletions.
12 changes: 0 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"graphql": "^14.0.2",
"graphql-import": "^0.7.1",
"graphql-request": "^1.8.2",
"graphql-tools": "^3.1.1",
"helmet": "^3.13.0",
"inversify": "^4.13.0",
"inversify-express-utils": "^6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion server/graphql/directives/authDirective.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defaultFieldResolver } from 'graphql';
import { SchemaDirectiveVisitor } from 'graphql-tools';
import { SchemaDirectiveVisitor } from 'apollo-server';
import { getUserRole } from '../../common/middleware/auth-middleware';
import { UnAuthorizedError } from '../errors';

Expand Down
2 changes: 1 addition & 1 deletion server/graphql/directives/formattableDate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GraphQLString, defaultFieldResolver } from 'graphql';
import { SchemaDirectiveVisitor } from 'graphql-tools';
import { SchemaDirectiveVisitor } from 'apollo-server';

/**
* GraphQL Schema directive sample for formatting the date
Expand Down
2 changes: 1 addition & 1 deletion server/graphql/mocks/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as casual from 'casual';
import { MockList } from 'graphql-tools';
import { MockList } from 'apollo-server';
const numFormat = '########';

export default {
Expand Down

0 comments on commit f272a63

Please sign in to comment.