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

Looking for Spring GraphQL Gateway federation stack #1099

Closed
ptvinhtech13 opened this issue Dec 10, 2024 · 3 comments
Closed

Looking for Spring GraphQL Gateway federation stack #1099

ptvinhtech13 opened this issue Dec 10, 2024 · 3 comments
Labels
status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged

Comments

@ptvinhtech13
Copy link

ptvinhtech13 commented Dec 10, 2024

Hello everyone! I had a few experienced time to use GraphQL. Currently, I'm looking for the native support from Spring GraphQL Gateway federation stack for microservices architecture. I'm trying to look into market and realized the current graphql federation stack are not written by java, especially by the Spring support (Please correct if'm wrong). For this issue, I hope I could get an advice or suggestion technical stack to build microservices using GraphQL federation gateway, that was perfect to adopt DGS or Spring GraphQL as a primary framework.
Thanks for checking out!
Hope the best for you all!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 10, 2024
@bclozel
Copy link
Member

bclozel commented Dec 10, 2024

Spring for GraphQL is not a federation gateway and we have no plans at this time to implement this product.
We do support federation pattern with the federation-jvm library. See https://docs.spring.io/spring-graphql/reference/federation.html

Have you tried this approach? Have you found limitations with it?

@bclozel bclozel added the status: waiting-for-feedback We need additional information before we can continue label Dec 10, 2024
@ptvinhtech13
Copy link
Author

@bclozel thanks for info from team with the Graphql gateway plans! I'll try with this approach

@kev205
Copy link

kev205 commented Dec 10, 2024

Hi, @bclozel if we want to implement a federation gateway, do we need to run it separately, like on an Apollo Server with Node.js? I currently have a Spring Cloud Gateway in front of all my microservices (GraphQL APIs) and would like to implement API composition at gateway level. After some research, I found GraphQL Federation, but I'm not sure how to implement it in a Spring Boot context. Could you provide guidance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

4 participants