AutoFilterer
AutoFilterer copied to clipboard
AutoFilterer is a mini filtering framework library for dotnet. The main purpose of the library is to generate LINQ expressions for Entities over DTOs automatically. The first aim is to be compatible w...
Filtering and data transferring should be separated and filtering should be injected from IoC container.
## Summary This feature aims to generate an expression for `.Select()` Linq method. ### Declaration See usage example for better understanding: - Entity ```csharp public class Book { public string...
Following situation doesn't work for `Country.Name`: ```csharp public class CityFilterDto : BaseFilterDto { [CompareTo("Name", "Country.Name")] [StringFilterOptions(StringFilterOption.Contains)] public string Filter { get; set; } } ``` - Expected Expression is: `.Where(x...
See the origin of this issue: https://github.com/enisn/AutoFilterer/discussions/35 ## Possible Scenarios There are 6 possibilities while generating filters for collections. 2 of them are already covered by AutoFilterer currently. Those possibilities...
[CodeFactor](https://www.codefactor.io/repository/github/enisn/autofilterer) found an issue: Complex Method It's currently on: [src\AutoFilterer\Types\StringFilter.cs:90-153](https://github.com/enisn/AutoFilterer/blob/1851ded36f26004b7532d3d2ad18a8dc19a57f08/src/AutoFilterer/Types/StringFilter.cs#L90-L153) Commit 1851ded36f26004b7532d3d2ad18a8dc19a57f08
.net 6 added the ability to use the IIncrementalGenerator interface. Would be nice to consider using that for better performance. I heard with the old one, if somebody types a...
Create an app that has heavy filtering & reporting via using AutoFilterer
Related with #20 ### Files Awaiting implementation in 2 files: - SelectorFilterBase.cs https://github.com/enisn/AutoFilterer/blob/feature/select-expression/src/AutoFilterer/Types/SelectorFilterBase.cs#L14-L18 - SelectorPaginationFilterBase.cs https://github.com/enisn/AutoFilterer/blob/feature/select-expression/src/AutoFilterer/Types/SelectorPaginationFilterBase.cs#L10-L14 ### Documentation Also, Implementation requires documentation too. Issue #20 can help to prepare documentation....
# The Goal Future of AutoFilterer aims to be a markup design pattern instead of using comparisons and binary operations. # Features There are some planned features will be included...
Because of my thoughts from here: https://youtu.be/fKgsE3j-6rU?si=71Y-f9xvFkwWYhST Dynamic filtering is not one of the goals of this library. Dynamic filtering doesn't cover the Open API Specifications, and this library doesn't...