-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
It's not possible to build sevant-util with servant 0.19:
src/Servant/Util/Combinators/Filtering/Client.hs:47:41: error:
• Couldn't match type ‘Text’ with ‘ByteString’
Expected type: Maybe ByteString
Actual type: Maybe Text
• In the second argument of ‘appendToQueryString’, namely
‘(Just value)’
In the expression: appendToQueryString key (Just value)
In the expression:
let
filter :: TypeFilter fk a
= cast sfFilter ?: error "Failed to cast filter"
(op, value) = typeFilterToReq filter
keymod = if op == DefFilteringCmd then "" else "[" <> op <> "]"
....
in appendToQueryString key (Just value)
|
47 | in appendToQueryString key (Just value)
| ^^^^^^^^^^
The appendToQueryString type has changed here haskell-servant/servant#1432.
Metadata
Metadata
Assignees
Labels
No labels