- 
                Notifications
    You must be signed in to change notification settings 
- Fork 84
Open
Description
Steps to reproduce
- Create a Mongoose service with option multi: true.
- Add before patch hook: stashBefore
- Run service.patch(null, { query: { date: "2024-08-14" }, mongoose: { upsert: true } }
(First please check that this issue is not already solved as described
here)
Expected behavior
At least, I don't want an error: Not found element with id null. At best, I want to stash these multiple item.
Actual behavior
My log is flooded with errors: Not found element with id null, because our app make some bulk writes to this table.
Module versions (especially the part that's not working):
Feathers v3 (yes it is old, but project is legacy and huge)
Feathers mongoose: 7.3.1 (tried also with 8)
Feathers-hooks-common: 4.20.2 (according source code, this error will happen in latest version)
NodeJS version:
NodeJS 16
Operating System:
Linux, Fedora 40
Metadata
Metadata
Assignees
Labels
No labels