Treat blank pre-request config as missing (#929)
This commit is contained in:
@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- #896, Boolean env var interpolation in config file - @begriffs
|
- #896, Boolean env var interpolation in config file - @begriffs
|
||||||
- #885, OpenAPI repetition reduced by using more definitions- @ldesgoui
|
- #885, OpenAPI repetition reduced by using more definitions- @ldesgoui
|
||||||
- #924, Improve relations initialization time - @9too
|
- #924, Improve relations initialization time - @9too
|
||||||
|
- #927, Treat blank pre-request as missing - @begriffs
|
||||||
|
|
||||||
## [0.4.2.0] - 2017-06-11
|
## [0.4.2.0] - 2017-06-11
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ readOptions = do
|
|||||||
<*> (fromMaybe False . join . fmap coerceBool <$> C.key "secret-is-base64")
|
<*> (fromMaybe False . join . fmap coerceBool <$> C.key "secret-is-base64")
|
||||||
<*> (fromMaybe 10 . join . fmap coerceInt <$> C.key "db-pool")
|
<*> (fromMaybe 10 . join . fmap coerceInt <$> C.key "db-pool")
|
||||||
<*> (join . fmap coerceInt <$> C.key "max-rows")
|
<*> (join . fmap coerceInt <$> C.key "max-rows")
|
||||||
<*> C.key "pre-request"
|
<*> (mfilter (/= "") <$> C.key "pre-request")
|
||||||
<*> pure False
|
<*> pure False
|
||||||
|
|
||||||
case mAppConf of
|
case mAppConf of
|
||||||
|
|||||||
Reference in New Issue
Block a user