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

Setup version for Trrack schema and enable back compatibility #55

Open
NateLanza opened this issue Apr 11, 2024 · 0 comments
Open

Setup version for Trrack schema and enable back compatibility #55

NateLanza opened this issue Apr 11, 2024 · 0 comments

Comments

@NateLanza
Copy link

NateLanza commented Apr 11, 2024

The trrack graph should have a version key indicating the Trrack schema version.

Graphs now have no version, so they should be updated to the latest specification on load.

#64 and #65 will change the schema, so start versioning after those are fixed.

For the future, any changes to the schema that can cause version changes should be coupled with logic to update the previous version to the current one. If not possible, explicitly throw an error to alert the user.

@kirangadhave kirangadhave changed the title detect old versions of trrack file and automatically update to new version Setup version for Trrack specification and enable back compatibility Apr 11, 2024
@kirangadhave kirangadhave changed the title Setup version for Trrack specification and enable back compatibility Setup version for Trrack schema and enable back compatibility Apr 11, 2024
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