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

Build plugin to check schema against supergraph #59

Closed
RaviPonduru opened this issue Jul 14, 2023 · 1 comment
Closed

Build plugin to check schema against supergraph #59

RaviPonduru opened this issue Jul 14, 2023 · 1 comment

Comments

@RaviPonduru
Copy link

Problem statement: ‘Spring for GraphQL’ is supporting multiple schema files (*.graphqls) under the location classpath:graphql/** , which is typically src/main/resources/graphql

How to merge multiple schema files into one schema file for CI pipeline ? Is there any build plugin available ?

CI workflow: https://www.apollographql.com/tutorials/voyage-part3/06-schema-checks-in-ci

@dariuszkuc
Copy link
Member

Hello 👋
There is no built-in functionality to do it. You would need to write some short script/app to merge the schema + transform it to get the final federated schema.

Since you need the schema artifact, it doesn't matter in which language you implement it. In order to do it using GraphQL Java see

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

2 participants