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
Currently, match each doesn't work with contains deep.
Scenario:
* def original = [ { a: 1, arr: [ { b: 2, c: 3 }, { b: 3, c: 4 } ] } ]
* def expected = { a: 1, arr: [ { b: '#number', c: '#number' } ] }
# This fails
* match each original contains deep expected
This is in line with the documentation, given that there is a section for match contains deep, but no corresponding section for match each contains deep. However, I think this feature would be of great use, especially in performing schema validation for complex JSON arrays with the powerful flexibility of contains deep.