Closed enisn closed 3 years ago
CodeFactor found an issue: A closing curly bracket must not be preceded by a blank line.
It's currently on: src\AutoFilterer.Dynamics\DynamicFilter.cs:97 Commit e8c3d721fbfb9dc829751a7d4556ef7af8a9a8ea
Namespace changes are disabled for now.
Summary
This PR includes no new feature. This is PR includes HUGE CORE CHANGES. As simple; these improvements that makes library more extensible & refactoring-easy. By the way, some of bug fixes are included in this PR.
AutoFilterer.Types
[ ] Chaining attributes (#18 )(v3)[ ] Nested support for CompareToAttribute (#17 )(v3)Migration guide to v2.6
Follow this document step by step if you're migration from v2.5.x to v2.6.x, if you're on older version, let's follow old migrations before this documentation:
1 - First step is 'Don't worry!' Just update your AutoFilterer nuget packages.
2 - Fix namespaces
AutoFilterer v2.6 comes with namespace changes.
AutoFilterer.Enums
changed asAutoFilterer
.CTRL
+H
( orCMD
+H
for Mac users.)using AutoFilterer.Enums;
for first box andusing AutoFilterer;
for second box.Entire Project
orEntire Solution
if you're using in multiple assembly.If some of files have duplicated
using AutoFilterer
line, you'll get warnings at compile-time. You can use resharper or similar tools to fix it.3 - Remove obsolete FilterBases Only if you've
PaginationFilterBase<T>
type which is marked as obsolete before. You need to say good bye to it.PaginationFilterBase<T>
withPaginationFilterBase
. All behaviors are same! Check Step 1 and Dont' worry!4 - Remove CombineWith overrides If you've overrided any of CombineWith() method, you shouldn't! Remove it and use Attribute Chaining feature.