Édouard Lopez
03/09/2022, 9:56 AM{
"level": 0,
}
But suddenly, they changed the level
value to 2
which broke our consumer. Is this something we should verify with a contract test?Matt (pactflow.io / pact-js / pact-go)
Mike Geeves
03/09/2022, 12:28 PM{"level": 0}
to `{"level": "OFF"}`where you have a possibly unexpected different type due to a change stringifying an enum would be a valid use case, done that one before 🙂Édouard Lopez
03/09/2022, 3:42 PMlevel: 2
on the first level of the object. IMHO that sound like Does the provider return the expected response? So we should enfore the value for this levelMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
0
can be any number, then a like
matcher is appropriate