servant/servant
Samuel Gélineau 0cb2d603c4
use Capture Description if available (#1423)
* use Capture Description if available

* update golden/comprehensive.md

This is technically a breaking change, because if a Capture has both a
Description and a ToCapture instance, the Description now takes
precedence. Since this Description wasn't doing anything before, I am
guessing that most projects currently only use Description to describe
their endpoints and not their Captures, and thus that few people will be
affected by this breaking change.

* test the "no ToCapture instance" case

The case in which there is both a Description and a ToCapture instance
seems like a corner case. The more interesting cases are the one in
which there is a Description but no ToCapture instance, and the case in
which there is a ToCapture instance but no description.
2021-06-08 13:28:19 -05:00
..
src/Servant use Capture Description if available (#1423) 2021-06-08 13:28:19 -05:00
test add HasLink instance for UVerb (#1370) 2020-12-06 14:19:35 +01:00
.ghci add servant/.ghci 2016-01-07 23:59:54 +01:00
CHANGELOG.md Prepare 0.18.2 release (#1364) 2020-11-22 17:51:32 +03:00
docs.sh prepare merge 2015-04-20 11:21:21 +02:00
LICENSE Changelog and cabal file edits 2018-11-13 09:58:42 +02:00
servant.cabal Allow hspec < 2.9 2021-05-14 12:34:04 +03:00
Setup.hs Change build-type: Simple; run doctests on CI via haskell-ci 2020-01-10 01:07:31 +02:00
update-nixpkgs.sh prepare merge 2015-04-20 11:21:21 +02:00