jsonapi-suite / jsonapi_compliable

MIT License
20 stars 35 forks source link

Add schema backwards-compatibility check #131

Closed richmolj closed 5 years ago

richmolj commented 5 years ago

See spec/schema_diff_spec.rb for usage and details.

Also adds executable to run the diff from a command-line:

bin/graphiti schema_diff /path/to/schema_a.json /path/to/schema_b.json

Which also supports URLs, to diff against something running in production:

bin/graphiti schema_diff /path/to/schema_a.json http://prod.com/schema.json

Will be paired with commit to jsonapi_spec_helpers, which will add a test to generate a new schema and compare to previous.

richmolj commented 5 years ago

@wadetandy