This repository has been archived by the owner on Oct 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of ExceptT, compat w/ new http-conduit & monad-metrics
http-conduit now requires MonadUnliftIO: snoyberg/http-client@dfbcb6c It's possible to work around that by running the http client body handlers in a fresh ReaderT. But that's an extra limitation. monad-metrics now requires MonadMask: parsonsmatt/monad-metrics@17546b9 It's *not* possible to work around if you want to measure whole handlers. So, ExceptT is slower anyway, and an antipattern: https://www.parsonsmatt.org/2017/06/21/exceptional_servant_handling.html Now we're free of it! And exporting UnliftIO by default.
- Loading branch information
1 parent
09062a6
commit 209cfbf
Showing
5 changed files
with
49 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
packages: | ||
- '.' | ||
resolver: nightly-2017-11-24 | ||
extra-deps: | ||
- servant-0.12 | ||
- servant-server-0.12 | ||
- either-5 | ||
resolver: nightly-2018-03-12 | ||
pvp-bounds: none |