Skip to content

Strict mode flag #41

Open
Open
@alecgibson

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions