however when that is cached it's converted to $and=[object Object],[object Object] which means the same result is returned regardless of the $and query.
@dottodot main reason was is to keep cache key as short as possible, but I didn't noticed that it has a bug when stringifying nested array, fixed version is on npm, thanks for the catch.
I have a query that is like this.
however when that is cached it's converted to
$and=[object Object],[object Object]
which means the same result is returned regardless of the $and query.I've noticed that if I remove
arrayFormat: 'comma'
from the stringify options the result looks much better so was wondering if there is a particular reason for this being set as feathers-rest doesn't use it. https://github.com/feathersjs-ecosystem/feathers-rest/blob/master/src/client/base.js