Support combining matching rules #1203
Labels
enhancement
Indicates new feature requests
good first issue
Indicates a good issue for first-time contributors
help wanted
Indicates that a maintainer wants help on an issue or pull request
triage
This issue is yet to be triaged by a maintainer
In some cases, you need to apply multiple matchers to a field in order to properly validate it. Only Pact JVM currently supports this behaviour.
The capability to combine matching rules will be enabled in the next release (
v0.4.19
), but the clients will need to update their DSLs to support it.Motivating Use Case
From a request in slack.
How might you write a matcher to check both the keys and values and the same time (use
eachKeyMatches
andeachValueMatches
simultaneously):Proposed API to support this
TBC
Background: pact-foundation/pact-reference#399 (comment)
The text was updated successfully, but these errors were encountered: