Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis authored Jan 12, 2022
1 parent da580bf commit 808092f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ Base class with tests for adding specifications to a DDD model. Currently used i

## Version 6 Release Notes

List of changes/actions:
### Breaking changes

- Improve in-memory evaluation performance. #182. <strong>Breaking Changes:</strong> The specification state for `Where`, `Order`, and `Search` expressions is stored in separate types.

- Remove `Paginate` builder action. <strong>Breaking Change</strong> (It was marked as obsolete since version 4). Issue #189

### Other updates

- Add support for `AnyAsync` in the base repository. #180

Expand All @@ -43,14 +49,10 @@ List of changes/actions:

- Add support for `condition` in the specification builder methods. #143

- Improve in-memory evaluation performance. #182. <strong>Breaking Changes:</strong> The specification state for `Where`, `Order`, and `Search` expressions is stored in separate types.

- Improve `Include` evaluation performance by implementing caching (opt-in feature). Issue #187

- Implement infrastructure for specification validators. Issue #111

- Remove `Paginate` builder action. <strong>Breaking Change</strong> (It was marked as obsolete since version 4). Issue #189

## Sample Usage

The Specification pattern pulls query-specific logic out of other places in the application where it currently exists. For applications with minimal abstraction that use EF Core directly, the specification will eliminate `Where`, `Include`, `Select` and similar expressions from almost all places where they're being used. In applications that abstract database query logic behind a `Repository` abstraction, the specification will typically eliminate the need for many custom `Repository` implementation classes as well as custom query methods on `Repository` implementations. Instead of many different ways to filter and shape data using various methods, the same capability is achieved with few core methods.
Expand Down

0 comments on commit 808092f

Please sign in to comment.