katharsis-framework icon indicating copy to clipboard operation
katharsis-framework copied to clipboard

Katharsis throwing error when Giving query parameter name as filters or filter or filter_type

Open kaleeswaran393 opened this issue 7 years ago • 0 comments

I dont want to use filters in Katharsis supported format as below

URL?filters[productaccounts][product_grp]=WL_CUST

I want to use JAX-RS query parameter with name filters or filter or any name starts with filter and bind in @QueryParam("filter_type") . however the below name is not supported in Katharsis.

URL?**filter_type**=WL_CUST

Katharsis throws error,

{ "errors": [ { "status": "400", "title": "Request parameters error", "detail": "Malformed filter parameter: s_type" } ] }

I know filters is reserved word in Katharsis but it surprise Katharsis not even support any query parameter name that starts with filter

Please advice.

Thanks, Kaleeswaran K

kaleeswaran393 avatar Mar 23 '17 03:03 kaleeswaran393