Filtering with UseSelect Hooks
There are 2 tables:
1. Parent (Category)
2. Children (Customer)
By Cases:
1. When Customer table is filtered by Category
And there is a Customer that matches the Category (works as expected)
2. When Customer table is filtered by Category
And there is no Customer data that matches the Category (an error occurred, incorrect payload happen)
Payload
Expected Payload
Repo: https://github.com/Us3r-gitHub/Refine-Nest
1. Parent (Category)
2. Children (Customer)
By Cases:
1. When Customer table is filtered by Category
And there is a Customer that matches the Category (works as expected)
2. When Customer table is filtered by Category
And there is no Customer data that matches the Category (an error occurred, incorrect payload happen)
Payload
{{API_URL}}/categories?filter[0]=id||$in
Expected Payload
{{API_URL}}/categories?filter[0]=id{{category_id}}
Repo: https://github.com/Us3r-gitHub/Refine-Nest

GitHub
Contribute to Us3r-gitHub/Refine-Nest development by creating an account on GitHub.
