Skip to content
Permalink
Branch: master
Commits on Apr 19, 2019
  1. feat: correct provider state matching for merging

    RaVbaker committed Apr 19, 2019
    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.
You can’t perform that action at this time.