Closed BMartinos closed 4 years ago
Hey @BMartinos, thanks for the report!
Would you mind trying to install from master via npm i codepunkt/mongoose-patch-history
or yarn add codepunkt/mongoose-patch-history
and telling us whether this is fixed there or not?
@codepunkt great thanks! Pulling from your master branch resolved my issue. Any idea of when this might be published to npm?
@BMartinos I'd say as soon as I figured #63 out to work as I want it too ๐ I'm actively working on getting it resolved so hopefully this week.
Ok great thanks for the quick feedback @vinerich Will keep an eye out for when the new version is released. Thanks
@BMartinos done ๐๐พ
2.0.0
was released by @codepunkt and includes the fixes for $pull, $push
+ new excludes and rollback without save option!
@vinerich @codepunkt Awesome! thanks for the new release and quick response :). I can confirm this fix is now also in the newly released npm update and working again for me.
Hi Team
Thanks for the new release of this module.
I have however picked an issue which has caused a breaking change to occur. It seems that the $push operation is no longer supported with the new changes introduced. Within your test script you have a test which should verify this but it doesnt seem to be working in a real world scenario.
I have created a basic gist of the files and steps needed to reproduce the error. I have made use of your actual test file in the master branch and removed the unrelated sections for this issue (Only testing the $push related operation). https://gist.github.com/BMartinos/d24dab6cb6d5b77600a5aeb990c0d40f
The error being returned when executing the reproducible test script can be seen below: