Skip to content

Commit

Permalink
fix: support Apollo Graph Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Dutour Geerling committed Jan 20, 2020
1 parent 5c6e168 commit a5bf10b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/graphql-gateway.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ export class GraphQLGatewayModule implements OnModuleInit {
buildService,
});

const { schema, executor } = await gateway.load();
this.registerGqlServer({ ...serverOpts, schema, executor });
this.registerGqlServer({ ...serverOpts, gateway, subscriptions: false });

if (serverOpts.installSubscriptionHandlers) {
// TL;DR <https://github.com/apollographql/apollo-server/issues/2776>
Expand Down

0 comments on commit a5bf10b

Please sign in to comment.