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

Explore state migration options #132

Open
prevwong opened this issue Dec 25, 2023 · 0 comments
Open

Explore state migration options #132

prevwong opened this issue Dec 25, 2023 · 0 comments

Comments

@prevwong
Copy link
Owner

Consumers of Reka will likely store the State data structure in a database of some kind. However, we should anticipate that any existing State structure may become invalid in the following events :-

  • The schema of the State type changes in a future release
  • External globals/components that consumers of Reka expose to their end-users may become deprecated or renamed; thus any existing references to those externals in the State will become undefined.

Hence, we should consider approaches in handling migrations to prevent existing State to become invalid or unusable.

@prevwong prevwong converted this from a draft issue Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant