fn parse_or_vars(v: &Value, field: &str) -> Result<Vec<Expr>, String>Expand description
Parses the APISIX vars shape for this plugin: an array whose items are
each a full expression (OR-ed together). Two leniencies over the strict
shape, both resolved at config load:
- an item that is a
["AND"|"OR", rule...]group is wrapped as a single-rule expression; - a “flat” list of bare rules (
[["arg_x", "==", "1"], ...]) is treated as one AND-ed expression.