Best practice: Dynamic Parameter for find()

Hello guys,

maybe it’s just a brain bug on my side, but im really confused for many days now.

I have a search formula with many configurable changing parameters like this:

ID, name, lastname, date1,

There is no hierarchical order of these parameters, the user can configure them in and out of the form.

The ember way for queryparameter is : { ID: …, lastname: …, date1: … }, but what can i do, if i don’t know what parameters can face up? There are for different modules in our application from 10 to 40 Parameters configurable…

I need help to find the “best-practice” to solve this problem.
I would be delighted, if someone could give me an impact how to solve this!

Best regards, Jan

related emberjs discuss post