graphql-kit / graphql-voyager

🛰️ Represent any GraphQL API as an interactive graph
https://graphql-kit.com/graphql-voyager/
MIT License
7.73k stars 511 forks source link

Visual diff of schemas #113

Open nikitastupin opened 5 years ago

nikitastupin commented 5 years ago

Hi,

Voyager is great tool but it would be nice to have a feature that shows visual diff between two versions of the same schema.

Diff would be incredibly useful for security researchers (and for developers too). The idea is that you can monitor changes in GraphQL API and then see visual diff of this changes (it's much more convenient then plaintext JSON diff). This will help to quickly reveal new functionality and understand changes in existing one.

IvanGoncharov commented 5 years ago

@nikitastupin It was our original idea but we decided to release MVP. Definitely, something to consider after we finally release 1.0.0.

FluorescentHallucinogen commented 5 years ago

One idea (that lies on the surface) of how this might look: mark added types, fields and links in green, deleted in red, and modified in blue/yellow. :wink:

FluorescentHallucinogen commented 4 years ago

I've made some progress on this. PTAL at https://twitter.com/alexey_rodionov/status/1227289665046241280. :wink: