Yes I’ve just been scratching my head a lot today trying to figure out a way to make it work but it’s simply impossible. The problem is also breaking the exports, the flattened fields appear as
I tried a smart field, but nope, returning the id in the
get function does the same. I suspect flattened fields are handled the same as smart fields under the hood, being simple
I ended up using my custom library that transforms the query object to query mongodb in my own controllers, but I’d love to be able to rely on the built-ins for such basic things. Quite frustrating.
I’m using the following version:
"forest-express-mongoose": "^8.4.0", and just tried with 8.4.4 but the problem still persist.