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
We have a list of ids and we want to use fetchRelatedRecords method in a custom Exporter. Theses ids could be null.
fetchRelatedRecords
const data = [1, 2, 3, null, null, 1, 7, null];
What you were expecting:
The api request should be:
http://example.com/react-admin/table?id[]=1&id[]=2&id[]=3&id[]=7
What happened instead:
The api request is:
http://example.com/react-admin/table?id[]=null&id[]=1&id[]=2&id[]=3&id[]=7
Steps to reproduce:
Pre-Conditions:
For example user_category_id is a foreign nullable key:
user_category_id
{ users: [ { id: 1, name: "Logan Schowalter", role: "admin", user_category_id: null }, { id: 2, name: "Breanna Gibson", role: "user", user_category_id: 1 }, ], user_categories: [ { id: 1, label: "premium" }, ] }
Steps:
users
user_category
Related code:
https://codesandbox.io/s/p1k5vol6x
Environment
The text was updated successfully, but these errors were encountered:
Fixed by #2354
Sorry, something went wrong.
No branches or pull requests
We have a list of ids and we want to use
fetchRelatedRecords
method in a custom Exporter. Theses ids could be null.What you were expecting:
The api request should be:
What happened instead:
The api request is:
Steps to reproduce:
Pre-Conditions:
For example
user_category_id
is a foreign nullable key:Steps:
users
listfetchRelatedRecords
to retrieveuser_category
labelRelated code:
https://codesandbox.io/s/p1k5vol6x
Environment
The text was updated successfully, but these errors were encountered: