forked from pact-foundation/pact_broker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: correct provider state matching for merging
Correct dealing with various forms of provider state. There are 3 options: - provider_state (was supported until now) but it is part of v1 specification - providerState wasn't supported, which is part of v2 specification - providerStates with array of objects containing at least name attribute. This is part of specification v3 and also is used by pact-message-ruby extensively. Without this submission any submit of two contracts with merge-mode and same version when the description is same but provider state vary would fail.
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters