Skip to content

RFC: EachKey and EachValue Matcher #510

Open
@vineet2907

Description

@vineet2907

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 and eachValueMatches).

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIndicates new feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions