serverless icon indicating copy to clipboard operation
serverless copied to clipboard

fix: allow AND and OR inside alb query conditions

Open Inqnuam opened this issue 1 year ago • 1 comments

Closes: #11880

More details here

Should we add a depreciation warning for the previous schema as it is ambiguous and not well documented ?

query:
  bar: true

This lets us think that query value is a boolean like in REST API (http) schema, which isn't!

And we can't guess without deploying and testing what is the behaviour of this declaration:

query:
  foo: true
  bar: true
  baz: false

Actually if one of these keys (foo, bar, baz) is present in query string then the request will be accepted.

PS: as documented by AWS, query key isn't required and can be omitted

Inqnuam avatar Apr 03 '23 21:04 Inqnuam