Skip to content

applySnapshot does not call preProcessSnapshot when using types.snapshotProcessor #1317

@khomyakov42

Description

@khomyakov42

Bug report

  • [v] I've checked documentation and searched for existing issues
  • [v] I've made sure my project is based on the latest MST version
  • [v] Fork this code sandbox or another minimal reproduction.

Sandbox link or minimal reproduction code
https://codesandbox.io/embed/mobx-state-tree-todolist-1o4pm

Describe the expected behavior
applySnapshot will call preProcessSnapshot and postProcessSnapshot

Describe the observed behavior
applySnapshot called only postProcessSnapshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions