Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Federation gateway and server in one application #26

Open
psteinroe opened this issue Apr 30, 2021 · 6 comments
Open

Federation gateway and server in one application #26

psteinroe opened this issue Apr 30, 2021 · 6 comments

Comments

@psteinroe
Copy link

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.

@psteinroe psteinroe changed the title Federation and Server in one Federation and Server in one application Apr 30, 2021
@psteinroe psteinroe changed the title Federation and Server in one application Federation gateway and server in one application Apr 30, 2021
@mcollina
Copy link
Contributor

It's currently not supported.

@Vispercept
Copy link

+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.

@mcollina
Copy link
Contributor

Would you like to send a Pull Request to address this issue? Remember to add unit tests.

@psteinroe
Copy link
Author

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.

@mcollina
Copy link
Contributor

mcollina commented May 1, 2021

Yes exactly.

@cr4ftx
Copy link

cr4ftx commented Apr 4, 2022

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.

@codeflyer codeflyer transferred this issue from mercurius-js/mercurius Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants