David Luecke
David Luecke
Did you pass the Mongoose object somewhere? Unless explicitly done so, I don't believe there should be circular objects in the context.
Hm, yes, that might indeed have to be excluded.
Serializing it without the property should work: ```ts app.configure( sync({ uri: 'redis://localhost:6379', serialize: (payload) => { const { context } = payload const { resolve, ...params } = context.params return...
That does seem strange since it should really just do the same thing.
LGTM, thought @jciolek might chime in but I can release it with some tests added and the necessary documentation updates.
This should work already as long as you set the [`lean` option](https://github.com/feathersjs-ecosystem/feathers-mongoose#serviceoptions) to `false`.
Ideally we'd need an example of what isn't working as expected then.
Oops... forgot to add the label to keep this open.
Please create a new issue with an example to reproduce.
@jciolek can speak to this but if not there are no plans for this. As usual, pull requests are always welcome.