Hello all,
My company is in the process of writing contracts and utilizing Pact Broker. Recently we started discussing an interesting scenario: breaking changes.
Say that a consumer and a provider have an existing contract, but both the consumer and provider agree that the provider service needs to change in such a way that will violate the contract.
If the CI for consumer and provider implements can-i-deploy checks, how would you introduce this change?
It seems to me that if the provider changes their code first, the can-i-deploy for the provider would break, because the consumer is still expecting the old version of the service.
If the consumer goes first, the can-i-deploy for the consumer would break, because the old provider code no longer meets the expectations of the new contract.
How do you rollout this change?