You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit confused about nested object properties.
I pass an object like this:
Which we try to validate using following expression:
msg.payload.open == true
From the readme page I understood this should be possible:
But I might have misinterpreted this??
And indeed while debugging, I see that this library checks whether the object has its own property "msg.payload.open" which is of course not the case:
Which means the nested property cannot be found :-(
Dear,
Thanks for sharing this very useful library!
I'm a bit confused about nested object properties.
I pass an object like this:
Which we try to validate using following expression:
From the readme page I understood this should be possible:
But I might have misinterpreted this??
And indeed while debugging, I see that this library checks whether the object has its own property "msg.payload.open" which is of course not the case:
Which means the nested property cannot be found :-(
However when I change the code to this:
Then the nested property can be found without problems:
Thanks !!!
Bart
The text was updated successfully, but these errors were encountered: