Our team is implementing mutiple subgraph services using ‘Spring for GraphQL’ for a new product in our organization. We would like to use Apollo federation to serve unified supergraph to our web and mobile clients.
‘Spring for GraphQL’ is supporting multiple schema files under the location classpath:graphql/**
, which is typically src/main/resources/graphql
.
Each of our service is like a mini-service, which will serve for related entity APIs. Above spring feature is helping our team to maintain their own schema file for the respective functionality.
Now, how can we publish these multiple schema files for a single subgraph service ?