You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add support for specifying branch related properties in the consumer version selectors that are sent to the Pact Broker when requesting pacts to verify. Please do not do any verification of the consumer version selectors on the client side - the validation rules are subject to change. Just ensure that any error response is displayed to the user.
For implementations that wrap the pact-ruby-standalone, update to the latest standalone version
For implementations that use the rust implementation, update to the latest rust version.
Add a String branch property to the consumer version selector (if there is a domain model for this).
Add a Boolean mainBranch (or main_branch for snake case languages) property consumer version selector (if there is a domain model for this).
Add a Boolean matchingBranch (or matching_branch for snake case languages) property consumer version selector (if there is a domain model for this).
Expose and document the branch, mainBranch (or main_branch for snake case languages) and matchingBranch (or matching_branch) properties in the user facing API.
Pass the branch, mainBranch and matchingBranch (must be camelcase) through to the relevant implementation (ruby and/or rust)
The Pact Broker now supports branches as first class entities. You can read more about this here: https://docs.pact.io/pact_broker/branches
Description
Please add support for specifying branch related properties in the consumer version selectors that are sent to the Pact Broker when requesting pacts to verify. Please do not do any verification of the consumer version selectors on the client side - the validation rules are subject to change. Just ensure that any error response is displayed to the user.
branch
property to the consumer version selector (if there is a domain model for this).mainBranch
(ormain_branch
for snake case languages) property consumer version selector (if there is a domain model for this).matchingBranch
(ormatching_branch
for snake case languages) property consumer version selector (if there is a domain model for this).branch
,mainBranch
(ormain_branch
for snake case languages) andmatchingBranch
(ormatching_branch
) properties in the user facing API.branch
,mainBranch
andmatchingBranch
(must be camelcase) through to the relevant implementation (ruby and/or rust)Verifying the changes
{ "mainBranch": true }
{ "branch": "feat/x" }
{ "matchingBranch": true }
with the provider branch set tofeat/x
The text was updated successfully, but these errors were encountered: