Skip to content

Commit

Permalink
Add missing @apollo/federation-internals dependency to gateway (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer authored Apr 13, 2022
1 parent 9fbb9ef commit 154c245
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gateway-js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found [here](https://github.com/apollographql/federation/blob/version-0.x/gateway-js/CHANGELOG.md) on the `version-0.x` branch of this repo.

- Add missing @apollo/federation-internals dependency to gateway [PR #1721](https://github.com/apollographql/federation/pull/1721)

## v2.0.1

- Use `for: SECURITY` in the core/link directive application in the supergraph for `@inaccessible` [PR #1715](https://github.com/apollographql/federation/pull/1715)
Expand All @@ -16,7 +18,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The

## v2.0.0-preview.13

- Revert previous `@apollo/core-schema` update due to incopatibilities with some existing schemas [PR #1704](https://github.com/apollographql/federation/pull/1704)
- Revert previous `@apollo/core-schema` update due to incompatibilities with some existing schemas [PR #1704](https://github.com/apollographql/federation/pull/1704)

## v2.0.0-preview.12

Expand Down
1 change: 1 addition & 0 deletions gateway-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"dependencies": {
"@apollo/composition": "file:../composition-js",
"@apollo/core-schema": "~0.3.0",
"@apollo/federation-internals": "file:../internals-js",
"@apollo/query-planner": "file:../query-planner-js",
"@apollo/utils.logger": "^1.0.0",
"@josephg/resolvable": "^1.0.1",
Expand Down
7 changes: 6 additions & 1 deletion gateway-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ import {
LegacyFetcher,
LocalCompose,
} from './supergraphManagers';
import { buildSupergraphSchema, operationFromDocument, Schema, ServiceDefinition } from '@apollo/federation-internals';
import {
buildSupergraphSchema,
operationFromDocument,
Schema,
ServiceDefinition,
} from '@apollo/federation-internals';

type DataSourceMap = {
[serviceName: string]: { url?: string; dataSource: GraphQLDataSource };
Expand Down
2 changes: 2 additions & 0 deletions package-lock.json

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

0 comments on commit 154c245

Please sign in to comment.