When upserting a document without changes with multi: true, a patch is added as stayed by the test.
This is however a wrong behavior as no patch should be added when no changes are present. This faulty behavior is cause by a leftover variable name change from many to multi. Which caused the wrong hooks to be executed.
When upserting a document without changes with
multi: true
, a patch is added as stayed by the test.This is however a wrong behavior as no patch should be added when no changes are present. This faulty behavior is cause by a leftover variable name change from
many
tomulti
. Which caused the wrong hooks to be executed.