Skip to content

Commit

Permalink
Switch to apollo-graphql for providing the signature transformations.
Browse files Browse the repository at this point in the history
As of #2259, the signature
normalization transformations no longer live in `apollo-engine-reporting`.

They now live in `apollo-graphql` which allows us to drop a large portion of
the dependency tree since `apollo-engine-reporting` currently depends on
`apollo-server-core` for its type definitions.

We'll use path-based imports at the moment because not everything is
exported from the main module of `apollo-graphql` (intentionally).
  • Loading branch information
abernix committed Feb 15, 2019
1 parent 7e50c24 commit 2046c11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"node": ">=6"
},
"dependencies": {
"apollo-engine-reporting": "0.2.2",
"apollo-graphql": "0.1.0",
"apollo-server-caching": "0.3.0",
"apollo-server-errors": "2.2.0",
"apollo-server-plugin-base": "0.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
FloatValueNode,
StringValueNode,
} from 'graphql/language/ast';
import { printWithReducedWhitespace, sortAST } from 'apollo-engine-reporting';
import {
printWithReducedWhitespace,
sortAST,
} from 'apollo-graphql/dist/transforms';

export const envOverrideOperationManifest =
'APOLLO_OPERATION_MANIFEST_BASE_URL';
Expand Down

0 comments on commit 2046c11

Please sign in to comment.