alirezanet / Gridify

Easy and optimized way to apply Filtering, Sorting, and Pagination using text-based data.
https://alirezanet.github.io/Gridify/
MIT License
807 stars 64 forks source link

Add support generating conditions with Index or Key in gridify-client #180

Open alirezanet opened 2 months ago

alirezanet commented 2 months ago

Details

Creating filters like the below examples should be possible via gridify-client

Property[index] = foo
Property[key] = bar

ListOfFoo[33] = bar
Dictionary[name] = john

so basically we need to support passing string or numeric values to [ ] in the field name.

moxplod commented 3 weeks ago

FYI - Dictionary is NOT supported by ef core yet. So won't work there. Dictionary mapping was not covered by "primitive collections"

https://github.com/dotnet/efcore/issues/29825

alirezanet commented 3 weeks ago

FYI - Dictionary is NOT supported by ef core yet. So won't work there. Dictionary mapping was not covered by "primitive collections"

dotnet/efcore#29825

That's fine. Gridify.EntityFramework is just an extension to the Gridify library. We can't limit ourselves to only what EF supports. EF users can simply ignore this feature ...