-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request - extend 'match each' to work with 'contains deep' #2170
Comments
tagging as |
I did a bit of digging together with @anupamck and it seems to us that most of the functionality for each contains deep is already implemented. We found that MatchStep.getType seems to simply be missing a case for this. karate/karate-core/src/main/java/com/intuit/karate/MatchStep.java Lines 133 to 162 in 694c92a
Here is the Change that I would propose: vincent-hennig@24564d2#diff-b849d563bd2a8fccf84bcb162901dc2ba61ab6aeaebc743e0648361f2db019a4 |
@vincent-hennig sounds right to me ! how about you attempt a PR ? if all existing tests pass, we are all good. and you can add a couple of tests for this case |
1.3.1 released |
Currently,
match each
doesn't work withcontains deep
.This is in line with the documentation, given that there is a section for
match contains deep
, but no corresponding section formatch 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 ofcontains deep
.The text was updated successfully, but these errors were encountered: