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

Create bi-directional schema version adapters #20

Open
mwatts15 opened this issue Jun 22, 2018 · 0 comments
Open

Create bi-directional schema version adapters #20

mwatts15 opened this issue Jun 22, 2018 · 0 comments

Comments

@mwatts15
Copy link
Contributor

To support the use of data in a forward and backward-compatible manner, we can employ "schema version adapters" to translate between different versions of a schema. Such adapters would work at the point where they are needed in code in order to make data generated at a later date accessible to code created at an earlier date while still allowing the newer data to follow the structure of the most recent version. Such a scheme would need, in general, at least m-1 adapters for m versions since adapters could be chained. More adapters could be created for non-adjacent version numbers for efficiency or to preserve fields that were lost in an intermediate version.

@mwatts15 mwatts15 transferred this issue from openworm/owmeta Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant