Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolate compatibility checker into standalone function #119

Open
sdboyer opened this issue Mar 12, 2023 · 0 comments
Open

Isolate compatibility checker into standalone function #119

sdboyer opened this issue Mar 12, 2023 · 0 comments
Labels
invariants Involves the definition or enforcement of a key system invariant

Comments

@sdboyer
Copy link
Contributor

sdboyer commented Mar 12, 2023

The specific algorithm used for checking backwards compatibility between two thema schemas should be isolated into a standalone function. Initially this can live under internal/ but it may be worth exposing it in an invariants subpackage or something.

Simple subsumption is currently insufficient for our purposes (though that will need re-investigation post- #82), but even if/when this is not the case, it's worth being clear about the algorithm Thema uses for this.

Some steps already taken here.

@sdboyer sdboyer added the invariants Involves the definition or enforcement of a key system invariant label Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invariants Involves the definition or enforcement of a key system invariant
Projects
None yet
Development

No branches or pull requests

1 participant