Skip to content

Wrong second argument for preSave hook during incrementalPatch #7355

@berdyshev

Description

@berdyshev

When calling the doc.incrementalPatch() method, the preSave hook is called with document data as the second argument instead of the RxDocument instance.

See IncrementalWriteQueue class implementation. I don't see the RxDocument instance in the context of this method, so I'm not sure what would be the best way to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions