Example(s) that show how to use Federation JVM
dariuszkuc opened this issue · comments
Create example apps that show how to use Federation JVM with popular libraries/frameworks.
Examples:
-
spring-graphql
- official Spring project -
dgs-framework
- The DGS Framework (Domain Graph Service) is a GraphQL server framework for Spring Boot, developed by Netflix. -
graphql-java-kickstart
Awesome!
I had previously raised the topic about the relationship between:
- spring-example within this repo (with two profiles)
- external samples (ie: dgs-federation-example or graphql-java-kickstart-federation-example)
- apollo-federation-subgraph-compatibility implementations (dgs, kickstart
Wondering if there is an opportunity to simplify and/or reference in the updated documentation
Good callouts. Existing spring-example
in this repo is outdated and confusingly provides 2 examples (loaded based on the spring profiles).
I'm thinking we should:
- drop existing
spring-example
- create new example based on
spring-graphql
- link to the DGS and
graphql-java-kickstart
example projects that you listed above
Following the linked DGS and GraphQL Java Kickstart examples, I created separate https://github.com/apollographql/federation-jvm-spring-example repository as well. We will be dropping example subprojects from this repository.
Unfortunately, none of the examples showcase features like @requires
directive processing.
👋 good callout! I've opened some issues in the https://github.com/apollographql/federation-jvm-spring-example repo to track adding additional use cases.