Schema validation of supergraph before deploying the code

We are running a federation service and our schemas of individual services are distributed across multiple repositories. It find conflict violation when we deploy each independent service. Is there a way to validate the sub-graph and super-graph before deploying the services. How can one add a validation in CI phase?

Hello :wave:

Take a look at rover documentation and specifically at subgraph check command.


1 Like

In addition to what @dkuc shared, you can also reference this Apollo doc on how to use rover checks with CI/CD.

Which CI tool are you using?