Skip to content

Commit

Permalink
router-bridge: Update to now-published federation 2.1.2-alpha.0 packa…
Browse files Browse the repository at this point in the history
…ges (#170)

Similar spirit as previous PRs like:

- #161
- apollographql/federation#2122
- apollographql/federation#2132
  • Loading branch information
abernix authored Sep 6, 2022
1 parent b7cbc46 commit 6cdb174
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 33 deletions.
8 changes: 3 additions & 5 deletions federation-2/router-bridge/js-src/plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@ export class BridgeQueryPlanner {

let operation: Operation;
try {
operation = operationFromDocument(
this.composedSchema,
document,
providedOperationName
);
operation = operationFromDocument(this.composedSchema, document, {
operationName: providedOperationName,
});
} catch (e) {
// operationFromDocument throws GraphQLError

Expand Down
52 changes: 26 additions & 26 deletions federation-2/router-bridge/package-lock.json

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

4 changes: 2 additions & 2 deletions federation-2/router-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
},
"dependencies": {
"@apollo/core-schema": "^0.3.0",
"@apollo/federation-internals": "2.1.1",
"@apollo/query-planner": "2.1.1",
"@apollo/federation-internals": "^2.1.2-alpha.0",
"@apollo/query-planner": "^2.1.2-alpha.0",
"@apollo/utils.usagereporting": "^1.0.0",
"apollo-reporting-protobuf": "^3.3.1",
"fast-text-encoding": "1.0.3",
Expand Down

0 comments on commit 6cdb174

Please sign in to comment.