-
-
Notifications
You must be signed in to change notification settings - Fork 928
Closed
Description
API Platform version(s) affected: 4
Description
In ParamaterExtension there is an edge case when we pass "0" in an argument value, which is ok for boolean filter for example.
see
if (!($v = $parameter->getValue()) || $v instanceof ParameterNotFound) { |
This condition !($v = $parameter->getValue())
skips the parameter for further processing.
How to reproduce
Use zero as an argument value.
Metadata
Metadata
Assignees
Labels
No labels