You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems to be because passing an ID means that a get will be executed, and it throws.
Unlike not passing an ID, as it will make a find, which doesn't throw when no documents are found.
Steps to reproduce
Have a feathers-mongoose service configured, then try to patch a document whose ID doesn't exist:
Expected behavior
It should work just the same as the below:
Actual behavior
It fails with Not Found error.
Seems to be because passing an ID means that a
get
will be executed, and it throws.Unlike not passing an ID, as it will make a
find
, which doesn't throw when no documents are found.System configuration
Module versions:
NodeJS version: 12.16.1
Operating System: MacOS
Browser Version: N/A
React Native Version: N/A
Module Loader: N/A
The text was updated successfully, but these errors were encountered: