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

Schema migrate #80

Merged
merged 9 commits into from
Mar 21, 2025
Merged

Schema migrate #80

merged 9 commits into from
Mar 21, 2025

Conversation

shapiromatron
Copy link
Collaborator

@shapiromatron shapiromatron commented Jan 21, 2025

Instead of crafting a user interface to handle multiple versions of outputs, migrate a loaded analysis file to the latest version. If a loaded file cannot be migrated, throw an error.

This will allow us to be backwards compatible moving forward, by just migrating an older version of the schema to the latest version.

The design for this was heavily influenced by this post: https://stripe.com/blog/api-versioning

@shapiromatron shapiromatron marked this pull request as ready for review March 19, 2025 15:50
@shapiromatron shapiromatron merged commit eadc767 into main Mar 21, 2025
3 checks passed
@shapiromatron shapiromatron deleted the schema-migrate branch March 21, 2025 16:05
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

Successfully merging this pull request may close these issues.

1 participant