Open ghost opened 2 years ago
Hello everyone.
I've been trying to run this where query in GraphQL using the library:
"where": { "_and": [ { "config": { "_contains": { "steps": [ { "sources": [ { "integration_id": 784 } ] } ] } } } ] }
When I use SelectInput, I can't make ra-data-hasura put the [] between steps and sources:
<SelectInput label="Integration ID" source="config@_contains.steps.sources.integration_id" choices={integrationsPerOrg} alwaysOn />
The code generated by this source is:
"where": { "_and": [ { "config": { "_contains": { "steps": { "sources": { "integration_id": 784 } } } } } ] }
What I should do to generate the right where query in the first example?
Hello everyone.
I've been trying to run this where query in GraphQL using the library:
When I use SelectInput, I can't make ra-data-hasura put the [] between steps and sources:
The code generated by this source is:
What I should do to generate the right where query in the first example?