Skip to content

Commit

Permalink
fix(deps) Replace use of federation directives
Browse files Browse the repository at this point in the history
This is now part of the subgraph dependency.
  • Loading branch information
Ian Mobley committed Oct 17, 2021
1 parent a2dbb4a commit 827556c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graphql-schema.builder.ts
Expand Up @@ -116,9 +116,9 @@ export class GraphQLSchemaBuilder {

private loadFederationDirectives() {
const { federationDirectives } = loadPackage(
'@apollo/federation/dist/directives',
'@apollo/subgraph/dist/directives',
'SchemaBuilder',
() => require('@apollo/federation/dist/directives'),
() => require('@apollo/subgraph/dist/directives'),
);
return federationDirectives;
}
Expand Down

0 comments on commit 827556c

Please sign in to comment.