mercurius-gateway
mercurius-gateway copied to clipboard
Federation gateway and server in one application
Hi,
is it possible to provide (a small) part of the federated schema from the same server the gateway is running on? From the docs (and also apollos docs), it seems like the gateway not only should but also has to be running separately and cannot merge a local schema into the federated schema.
It's currently not supported.
+1 for schema and resolver inside the gateway instance
This feature would be awesome. Sometimes running a whole server for some little adjustments and extensions is overkill.
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
Do you have a hint where we can start? I was thinking to join the schemas and resolvers created by the gateway with the local ones but I am not quite sure yet what side effects that may have.
Yes exactly.
Hi guys, any news on this feature ?
I looked at https://github.com/autotelic/mercurius-remote-schema but the plugin is unmaintained and its graphql dependency is outdated.