[haskell-http-client] add cli option customTestInstanceModule (#2406)

setting `customTestInstanceModule` will import typeclasses from the
specified module into tests/Instances.hs, to provide typeclass
instances for types not known by the generator

this property set using `--additional-properties`

example:
```
--additional-properties=customTestInstanceModule=CustomInstances
```
This commit is contained in:
Jon Schoning
2019-03-15 07:34:46 -05:00
committed by GitHub
parent 5ba35ecd31
commit c9737cf97d
7 changed files with 18 additions and 6 deletions

View File

@@ -29,4 +29,5 @@ sidebar_label: haskell-http-client
|useKatip|Sets the default value for the UseKatip cabal flag. If true, the katip package provides logging instead of monad-logger| |true|
|dateTimeFormat|format string used to parse/render a datetime| |null|
|dateFormat|format string used to parse/render a date| |%Y-%m-%d|
|customTestInstanceModule|test module used to provide typeclass instances for types not known by the generator| |null|
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|