haskell-servant / haskell-servant/servant
Parsing objects in Query Parameters
- Dominant language
- Haskell
- Stars
- 2k
- Forks
- 427
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 5
Description
Hi folks. Let me congratulate all of you for your hard work in this project, I really have enjoyed using it and has been really helpful :taco:.
What I would like to ask is if is there a way to parse "objects" as the example described [here](https://www.npmjs.com/package/qs#parsing-objects)?
I understand that servant ATM can use [Query Params](https://hackage.haskell.org/package/servant-0.17/docs/Servant-API-QueryParam.html#t:QueryParams) but it doesn't allow the use of "indexed" values like: `?filter[]=val&filter[]=bar` so I'm guessing something like `?filter[eq]=val` is not supported and will silently discard the parameter?
I hope this makes sense and sorry in advance because english is not my main language, thanks again for your help with this :smile:
Contributor guide
Assessment
This issue has not been assessed yet.