Open cecchigl opened 2 years ago
@cecchigl Thanks for posting! We'll take a look as soon as possible.
In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.
For help with questions about Sails, click here.
Hi @cecchigl, I would recommend writing your own custom action.
But what you are trying to do is possible with: https://sailsjs.com/documentation/reference/configuration/sails-config-blueprints#?using-parseblueprintoptions.
Here's the docs for the Find blueprint: https://sailsjs.com/documentation/reference/blueprint-api/find-where
i.e. I think sticking meta: {enableExperimentalDeepTargets: true}
on the query options you return from that function should do the trick.
The documentation totally lack on information about this parameter or at least i was not able to find it out. is it possible to add this param to a CURL query ?
I'm trying to retireve the resource querying a nested parameter in this way
/resource?where={"field.token":"<somestring>"}
and i get the following
But it gives no information on how to add the parameter inside an external curl query