Closed hao-li closed 7 years ago
Some libraries use a complex combination of parameter's values.
For example: RequestCriteria of andersao/l5-repository
http://prettus.local/users?filter=id;name
The values (id and name as well as others) of filter could be dynamic combination. Can not easily be matched by if_query.
For too complicated patterns, I think users should test the conditions by themselves and pass the result into the active_class helper function.
active_class
[Proposal] Add if_query_pattern function
Some libraries use a complex combination of parameter's values.
For example: RequestCriteria of andersao/l5-repository
The values (id and name as well as others) of filter could be dynamic combination. Can not easily be matched by if_query.