-
- Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
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.
Reactions are currently unavailable