Skip to content

Commit

Permalink
Readme - add OneOf to pattern list
Browse files Browse the repository at this point in the history
  • Loading branch information
timabell committed Oct 23, 2020
1 parent 871e5c5 commit 6d462cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Dfc.CourseDirectory.WebV2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ For an intro to MediatR in controllers see:
* https://jonhilton.net/2016/06/06/simplify-your-controllers-with-the-command-pattern-and-mediatr/
* https://alexlindgren.com/posts/thin-controllers-using-mediatr-with-aspnet-mvc/

### OneOf

`OneOf<>` gives us better compile time checks for passing around one of multiple types. See the [OneOf readme](https://github.com/mcintyre321/OneOf/#readme) for further explanation.

### Tests

There are no controller tests because the controller actions are very thin mappings.
Expand Down

0 comments on commit 6d462cb

Please sign in to comment.