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; }