Skip to content

Commit

Permalink
Merge pull request #10 from Tim-Maes/Tim-Maes-patch-6
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Tim-Maes committed Dec 18, 2023
2 parents 5341d30 + 085a353 commit 2f22c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Remove the example queries/mutation/repositories etc and implement your own.

In the core layer we have a custom lightweight handler implementation. These are `Handler<TOutput>` for querying data without parameters,
and `Handler<TInput, TOutput>` for querying or mutating data with parameters.
Handler is a abstract class so we can leverage the validation method leveraging FluentValidation. You still need to define a interface for DI purpose.

Since we don't use `AutoMapper` to map input types to output types, we just write an extension method `ToOutput()` that maps `TInput` to `ToOutput()`.

Expand Down

0 comments on commit 2f22c62

Please sign in to comment.