2019-12-26 15:01:10 +01:00
|
|
|
synopsis: use queryString to parse QueryParam, QueryParams and QueryFlag
|
|
|
|
packages: servant-server
|
2020-01-09 21:19:24 +01:00
|
|
|
prs: #1249 #1262
|
|
|
|
significance: significant
|
2019-12-26 15:01:10 +01:00
|
|
|
description: {
|
|
|
|
|
|
|
|
Some APIs need query parameters rewriting, e.g. in order to support
|
|
|
|
for multiple casing (camel, snake, etc) or something to that effect.
|
|
|
|
|
|
|
|
This could be easily achieved by using WAI Middleware and modyfing
|
|
|
|
request's `Query`. But QueryParam, QueryParams and QueryFlag use
|
|
|
|
`rawQueryString`. By using `queryString` rather then `rawQueryString`
|
|
|
|
we can enable such rewritings.
|
|
|
|
|
|
|
|
}
|