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

Support for backward/forward compatibility #10

Open
durban opened this issue Sep 18, 2016 · 0 comments
Open

Support for backward/forward compatibility #10

durban opened this issue Sep 18, 2016 · 0 comments
Labels

Comments

@durban
Copy link
Owner

durban commented Sep 18, 2016

Currently Compat[A, B] and Model#compatible(a, b) are symmetric (in A/B and a/b respectively). There are cases where it would be useful to have a "partial" compatibility relation. For example, we might only care that we can read serialized data from an older version, but we don't require that that older version be able to read current serialized data. For these cases, it would be good to have something like ForwardCompat[OLD, NEW] (and Model#forwardCompatible). And/or BackCompat[NEW, OLD] could be equivalent. (See also this comment.)

@durban durban added the feature label Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant