Skip to content

Default to hard rollback #451

Open
Open
@alecgibson

Description

@alecgibson

In general, the invert() method is not very reliable as an API. Neither json0 and json1 guarantee that any given op is invertible. This can lead to surprising data states when using a "soft" rollback. We should probably default to hard rollback in all cases, and force consumers to opt-in if they want this behaviour (which means they should also hopefully know what they're doing).

Further discussion:

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeBreaking change that we may want to pull into a future major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions