-
Notifications
You must be signed in to change notification settings - Fork 137
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
feat: Enhance provider states for pact-message #322
feat: Enhance provider states for pact-message #322
Conversation
* feat: allow multiple provider states to be defined in a pact * feat: allow additional parameters to be passed in the provider state Signed-off-by: Nuno Frias <[email protected]>
Thank you! I'm surprised this works, because Ruby doesn't support V3 contracts (properly) but I'm assuming it does work otherwise you wouldn't have submitted the PR. I think it's OK to support this, assuming the code quality/review passes. |
The Ruby core is surprisingly flexible when it comes to the content of the |
It looks fine as far as I can see [haven't tried testing it manually though] TIL: using <= for testing for subsets, had not seen that before thanks! :D |
* feat: allow multiple provider states to be defined in a pact * feat: allow additional parameters to be passed in the provider state Signed-off-by: Nuno Frias <[email protected]>
aefd5ef
to
edd73bb
Compare
@mikegeeves All comments addressed. Btw the |
@mikegeeves is it possible to merge, assuming you're happy with my fixes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on Mikes comments
feat: allow multiple provider states to be defined in a pact
feat: allow additional parameters to be passed in the provider state
Signed-off-by: Nuno Frias [email protected]