applySnapshot does not call preProcessSnapshot when using types.snapshotProcessor

Author: khomyakov42Created Jun 14, 2019Updated Mar 16, 2025
Labelsbughelp/PR welcomelevel: easyhacktoberfest

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