krakend / krakend-documentation

All the documentation under http://www.krakend.io/docs/
Apache License 2.0
24 stars 107 forks source link

Add an array query string parameter example #192

Closed klaude closed 1 year ago

klaude commented 1 year ago

Greetings!

This PR is the result of a question that popped up on Slack yesterday. It tweaks documentation for CEL syntax regarding multi-value query string parameters and adds an example that checks for a value in the array via CEL. It assumes array query string parameters follow the form ?foo[]=bar&foo[]=baz but also includes a note on how to handle the ?foo=bar&foo=baz use case.

Let me know what you think. I'm happy to change it up if you need it. Thanks!

alombarte commented 1 year ago

I wouldn't have explained it better.

Thanks!