mercurius-js / mercurius-gateway

Mercurius federation support plugin
MIT License
17 stars 11 forks source link

Schema not updated when calling `refresh` #80

Closed luke88jones closed 7 months ago

luke88jones commented 1 year ago

I've found that calling server.graphqlGateway.refresh() doesn't update the application schema. From investigation the federated services are successfully called and their respective schemas built but the refresh function doesn't call app.graphql.replaceSchema(schema)

I'll try to submit a PR shortly.