Closed yamadayutaka closed 4 weeks ago
The following filter operators are not implemented in the Nestjs-Query Data Provider.
containss
ncontainss
startswiths
nstartswiths
endswiths
nendswiths
nbetween
pnpm create refine-app@latest --example data-provider-nestjs-query
src/pages/categories/list.tsx
const { tableProps, sorters } = useTable<ICategory>({ initialSorter: [ { field: "id", order: "asc", }, ], initialFilter: [ { field: "title", operator: "containss", value: "Refine", }, ],
pnpm dev
navigate Categories menu.
Categories
following error occurred.
Variable "$filter" got invalid value { undefined: "Refine" } at "filter.title";
GraphQL query is executed with the following filter.
filter: {title: {like: "%Refine%"}}
I have already fixed this issue and will create a PR.
Hey @yamadayutaka thanks for the issue and looking forward to your PR! Make sure to check our Contributing Guide before sending the PR.
Hi @BatuhanW, Thanks for merging my PR!
Describe the bug
The following filter operators are not implemented in the Nestjs-Query Data Provider.
containss
ncontainss
startswiths
nstartswiths
endswiths
nendswiths
nbetween
Steps To Reproduce
containss
operator onsrc/pages/categories/list.tsx
.navigate
Categories
menu.following error occurred.
Expected behavior
GraphQL query is executed with the following filter.
Packages
Additional Context
I have already fixed this issue and will create a PR.