Skip to content

Instantly share code, notes, and snippets.

@mikesjcz
Created September 6, 2022 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikesjcz/4a510833df42d1011868ea0389a1407e to your computer and use it in GitHub Desktop.
Save mikesjcz/4a510833df42d1011868ea0389a1407e to your computer and use it in GitHub Desktop.
const superGraphSchema = await this.supergraphManager.getSupergraph();
if (!this.supergraphManager.checkSupergraph(superGraphSchema)) {
this.supergraphManager.setActualSupergraph(superGraphSchema);
await this.server.stop();
this.startServer(superGraphSchema.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment