Skip to content

Add QueryParamForm #728

Open
Open
@isairz

Description

@isairz

CaptureAll is exist, but QueryParamAll is not.

I suggest QueryParamAll to get all list of query params.

-- /books?title=eq.servant&category=eq.haskell
data QueryParamAll a b
type MyApi = "books" :> QueryParamAll ByteString ByteString :> Get '[JSON] [Book]
books :: [(ByteString, Maybe ByteString)] -> AppHandler ByteString
books filter = ...

I think it is not hard to implement this because QueryParam alreay do parseQueryText

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions