rayman1104 / ra-data-nestjsx-crud

Data provider which integrates React Admin with NestJS CRUD library
MIT License
100 stars 27 forks source link

added the possibility to add custom query params #2

Closed ggirodda closed 4 years ago

ggirodda commented 4 years ago

Hi, I read your comment in the issue of the original package, thank you for taking over the project.

I added the functionality to pass custom query params out of the filter param

using the query param q

<UserList filter={{q: {.someCustomQueryParam: "value1" }} filters={FilterComponent/}>

the result for the query will be ?someCustomQueryParam=value1&filter=...