-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Steps to reproduce
(First please check that this issue is not already solved as described
here)
- Tell us what broke. The more detailed the better.
- If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.
Uncaught error at https://github.com/feathersjs-ecosystem/feathers-sync/blob/release/lib/core.js#L62 that causes feathersjs to return a 500 error although the request completed successfully, with exception that the sync failed. In short, the mongoose object is now set at context.arguments[1].mongoose and triggers this error as it contains circular structures.
Expected behavior
No errors converting object to JSON.
Actual behavior
Tell us what happens instead
Error is generated at https://github.com/feathersjs-ecosystem/feathers-sync/blob/release/lib/core.js#L62 due to context.arguments[1].mongoose.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 3.0.3
NodeJS version: 18
Operating System: Ubuntu
Browser Version:
React Native Version:
Module Loader: