servant/servant-foreign/test
Steve Purcell 5188e842a9 [servant-foreign] Parameterise type classes with a foreign representation type
We allow a user-specified type to represent the foreign type of haskell
types encountered in the API. This lets users map Integer, Date etc. to
representations other than Text, and have those representations
available in the returned list of Req.

For example, we might want to map a type which has an instance of
Generic to both a foreign type name and a class declaration for that
foreign type such that it can encode/decode itself to JSON. The previous
limitation to a single Text output prevented this case.
2016-03-14 10:34:53 +13:00
..
Servant [servant-foreign] Parameterise type classes with a foreign representation type 2016-03-14 10:34:53 +13:00
Spec.hs servant-foreign: add test for camelCase 2015-11-04 11:27:07 +00:00