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 for existing schemas: graphql-transform-federation #360

Open
0xR opened this issue Sep 24, 2019 · 2 comments
Open

Federation for existing schemas: graphql-transform-federation #360

0xR opened this issue Sep 24, 2019 · 2 comments

Comments

@0xR
Copy link

0xR commented Sep 24, 2019

Sometimes a rebuild to use graphql federation is not possible / desirable. I'm working on a schema transform that allows you to add federation to any existing schema: graphql-transform-federation. The idea is that you add the information required for federation and the transform will ensure the schema conforms to the federation API.

I was wondering whether this approach aligns to with your ideas.

  1. Are you interested in adding something like this to buildFederatedSchema? buildFederationSchema(schema, config?: FederationConfig)
  2. What do you think of this approach compared to Build Federated Schemas From Existing Schema apollo-server#3013 that relies on adding non-standard functions to GraphQL types

Other issues that could be solved with this:
prisma-labs/graphql-framework-experiment#148
MichalLytek/type-graphql#351

@abernix abernix transferred this issue from apollographql/apollo-server Jan 15, 2021
@mengqing
Copy link

Also looking into a solution for this

@luijar
Copy link

luijar commented Jun 6, 2022

Can someone please help out here? I need to federate to an existing schema that does not use federation. It's not even an Apollo Server and a rebuild is out of the question since it's just a big project. Existing libraries are not working at the moment with latest releases of the @apollo/* libs.

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

3 participants