dotnet-starter-kit icon indicating copy to clipboard operation
dotnet-starter-kit copied to clipboard

Add search support for collections in SpecificationBuilderExtensions

Open stamahto opened this issue 2 years ago • 7 comments

Is your feature request related to a problem? Please describe. I would be great, if we could search through collections of data. Now it is only possible filter only class primitive types, strings and objects.

Describe the solution you'd like Add expression in SearchByKeyword / AdvancedSearch / AdvancedFilter to filter in ICollection

Additional context I think it could be useful to many people and it would open up new possibilities how we can work with data on the client, because if we now use collections, we have to use client-side filtering and sorting solutions.

stamahto avatar May 09 '23 08:05 stamahto

Hello, You got any solution?

binateit avatar Jun 21 '23 17:06 binateit

Hello, You got any solution?

Nope, I tried but expressions are hard 😂

stamahto avatar Jun 21 '23 17:06 stamahto

@jitendra-binateit @stamahto

No up to now, there is also no solution from my side.

ertugrulkaya avatar Jun 25 '23 19:06 ertugrulkaya

@jitendra-binateit @stamahto

No up to now, there is solution from my side.

Can you provide some link to that solution please?

stamahto avatar Jun 26 '23 06:06 stamahto

@jitendra-binateit @stamahto

No up to now, there is solution from my side.

Can you provide some link to that solution please?

Sorry , i forgat to write 'No'. I fix it

ertugrulkaya avatar Jun 26 '23 07:06 ertugrulkaya

Is there any update on this feature request? Are there any plans to work on it @iammukeshm?

michelebenolli avatar Aug 02 '23 07:08 michelebenolli

Hi guys, i submited a pull request for this feature, Now a field filter like "ChildrenCollection.PropertyName" works. https://github.com/fullstackhero/dotnet-webapi-starter-kit/pull/919

It is only for filters though.

cederron avatar Mar 25 '24 08:03 cederron