We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ra-data-opencrud/src/buildVariables.js
Lines 31 to 36 in 929e193
The filter like { id_in: ['id_1', 'id_2'] } will lead to query variables like:
{ id_in: ['id_1', 'id_2'] }
{ "where": { "id_in": { "id_in": ["id_1", "id_2"] } } }
Which is not a valid query anymore.
The text was updated successfully, but these errors were encountered:
Hey there,
Could you please provide the components you're using to end up into this bug?
Thanks 🙏
Sorry, something went wrong.
Sure, the component is react-admin List: https://marmelab.com/react-admin/List.html#permanent-filter
The query like this:
{ posts (where: { title_in: ["Hello World", "My Second Post"] }) { id title } }
will turn to:
{ title_in: { id_in: ["Hello World", "My Second Post"] } }
The link for the query: https://graphqlbin.com/v2/YvW2uN
@Weakky I reproduce the bug here: https://github.com/xcv58/ra-data-opencrud-issue-21
No branches or pull requests
ra-data-opencrud/src/buildVariables.js
Lines 31 to 36 in 929e193
The filter like
{ id_in: ['id_1', 'id_2'] }
will lead to query variables like:Which is not a valid query anymore.
The text was updated successfully, but these errors were encountered: