From 827556cb95697eff2e6a8a142e47f1c27b608229 Mon Sep 17 00:00:00 2001 From: Ian Mobley Date: Sat, 16 Oct 2021 09:30:54 -0700 Subject: [PATCH] fix(deps) Replace use of federation directives This is now part of the subgraph dependency. --- lib/graphql-schema.builder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/graphql-schema.builder.ts b/lib/graphql-schema.builder.ts index 4ad6a0102..b0b6d6d38 100644 --- a/lib/graphql-schema.builder.ts +++ b/lib/graphql-schema.builder.ts @@ -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; }