znsio / specmatic

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.
https://specmatic.in
MIT License
250 stars 51 forks source link

Recursive backward compatibility check #1131

Closed joelrosario closed 1 month ago

joelrosario commented 1 month ago

What:

If spec.yaml refers to component1.yaml which refers to component2.yaml, and the change is in component2.yaml, Specmatic's backwardCompatibilityCheck command will now identify this and test spec.yaml for backward compatibility correctly.

Why:

The code previously worked for only one level (spec.yaml -> component.yaml)

Checklist: