Closed picca closed 5 years ago
Won't fix.
In servant:
Maybe
indicate the absence of QueryParam
.""
case (which isn't valid Int
)QueryParam' '[Optional, Lenient]
so you'll get Maybe (Either Text a)
and then you can do parsing choices in the hander.
Hello, I try to use a webform with a Maybe Float
but I get this error message when it tries to parse the parameter resolution.
here the request from servant
Indeed "" is not a float, but in that case I expect Nothing.
So where is the problem ?