Open vineet2907 opened 2 months ago
There are a few matchers that have been added to the v4 spec after it was first published and currently some of those haven't been implemented. They're not difficult to add though.
There's no way to add custom matchers, no.
Pact v4 specification introduces several new matchers, EachKey and EachValue being two amongst them. EachKey allows defining rules against the keys in the collection, ignoring the values. EachValue allows defining rules against the values in the collection, ignoring the keys.
There are corresponding matchers added in pact-js (
eachKeyMatches
andeachValueMatches
).Is there any plan to introduce these new matchers in current/beta versions of pact-net ?
Until they are available, is there a way to create custom matchers in the latest version to support these matching rules?