Skip to content
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

[V3] Add a Dynamic key matcher similar to eachKeyLike in pact-jvm #618

Closed
3 tasks done
francislobo opened this issue Feb 26, 2021 · 2 comments
Closed
3 tasks done

Comments

@francislobo
Copy link

Checklist

Before making a feature request, I have:

Feature description

Need a matcher for dynamic object keys similar to eachKeyLike in Pact-JVM

Use case

The use case is similar to the one mentioned in : pact-foundation/pact-specification#47

We have a few APIs where the property key changes based on the context and we use eachKeyLike for the contracts generated from pact-JVM

we are planning to migrate to use Pact-JS and are unable to migrate due to the lack of eachKeyLike

@francislobo francislobo changed the title Add a Dynamic key matcher similar to eachKeyLike in pact-jvm [V3] Add a Dynamic key matcher similar to eachKeyLike in pact-jvm Feb 26, 2021
@TimothyJones
Copy link
Contributor

Thanks for the report! We'll make sure this is on the pre-release checklist.

@mefellows
Copy link
Member

eachKeyLike has been added to the latest beta (v10.0.0-beta.34). Let me know how it goes!

I'll close for now, but please of course share any feedback here and we can re-open if the DSL isn't what we expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants