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

Strict mode flag #41

Open
alecgibson opened this issue Jul 12, 2021 · 0 comments
Open

Strict mode flag #41

alecgibson opened this issue Jul 12, 2021 · 0 comments

Comments

@alecgibson
Copy link
Contributor

We recently merged some stricter type checking in #40

This works well for "greenfield" docs, but anyone already using json0 may experience breakages when rebuilding snapshots from old ops that were submitted before this stricter checking was added (this happens particularly in ShareDB's fetchSnapshot() flow for rebuilding historic snapshots).

We should probably hide these newer features behind an opt-in strict mode flag before deploying a new release. We could then also merge #23 and hide that feature behind the same flag.

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 a pull request may close this issue.

1 participant