micronaut-projects / micronaut-graphql

A repository for Micronaut and GraphQL integrations
Apache License 2.0
81 stars 43 forks source link

Apollo GraphQL Federation support #398

Open tzejohn opened 1 year ago

tzejohn commented 1 year ago

Feature description

Not sure if this is something that is already supported yet or not, but the Micronaut framework is not listed on the Apollo Federation supported subgraph library page (https://www.apollographql.com/docs/federation/building-supergraphs/supported-subgraphs/). Is this something that someone is already working on?

sdelamo commented 9 months ago

@jeremyg484 any update on this?

jeremyg484 commented 9 months ago

@sdelamo I've investigated it, and I don't immediately see any reason why we shouldn't be compatible. It mainly requires the user to manually include the added support from the federation-graphql-java-support when building the GraphQL object in a @Factory bean.

To be included in the list of "supported libraries", we will need to implement their compatibility tests and submit a PR here: https://github.com/apollographql/apollo-federation-subgraph-compatibility

The instructions for implementing the tests are here: https://github.com/apollographql/apollo-federation-subgraph-compatibility/blob/main/SUBGRAPH_GUIDE.md

sdelamo commented 9 months ago

I have moved this to under consideration