Compare graph variants


I have two schemas with some common types and som changes pushed to two variants “current” and “old”.

I’d like to compare the two variants for breaking/dangerous changes before merging the schemas. I can’t seem to find a way to compare schemas across variants in the Apollo Studio interface.

Is this possible? Or do I have to push the schema to the same variant to get breaking changes etc listed

Hi! There isn’t currently a way to “diff” two variants and run a check in the Studio UI, but we’re working on some things of that essence that right now which should be available in the not-too-distant future.

I think the best option to do this kind of thing right now is to use our rover CLI. There are a number of different options for configuring schema checks, and you can configure the command to diff a local schema across any variant you’d like. You can also configure the check to validate the “safety” of the change using live traffic from multiple variants if you’d like.