servant
servant copied to clipboard
QueryParamForm Combinator
#728
type MyApi = "book" :> QueryParamForm BookSearchParams :> Get '[JSON] [Book]
This is my first pull request in servant. Please feel free to review my commits 😃
- [x] Add API
- [x] instance and test for servant-server
- [ ] instance and test for servant-client
- [ ] instance and test for servant-doc
- [ ] instance and test for servant-foreign
Also, I don't see any changes for servant-client
, for that you should symmetrically use ToForm
.
@fizruk the servant-client
interpretation is still not ticked in the first comment in this issue :) I agree with fizruk's feedback, lacking the time to do a proper review but this is a good start! I'll review when it's all ready.
@isairz are you going to work on this soon or should we take over?
@fizruk Sorry, I was so busy and did not care. I will work on this soon.