In the above code block, the first post is matched with the rule but the second is not for whatever reason and throws the following error, despite the condition seemingly being met
In a similar vein, the unary operator also doesn't work when testing the presence of the nested values, so the following condition also throws a similar error
@when_all(+m.item.nested)
Is there any way round this? Or is it just not possible to do that?
The unary operator +/- for matching the existence (or non-existance) of a named item doesn't appear to work for nested objects.
For instance:
In the above code block, the first post is matched with the rule but the second is not for whatever reason and throws the following error, despite the condition seemingly being met
In a similar vein, the unary operator also doesn't work when testing the presence of the nested values, so the following condition also throws a similar error
Is there any way round this? Or is it just not possible to do that?