Hi, we stumbeled across the following error when trying to upload pacts.
When trying to upload the following contract:
we observe the following:
$ npm i -g @pact-foundation/pact-cli
$ pact-broker publish *.json --consumer-app-version "0.0.0-SNAPSHOT" --branch "test" --broker-base-url= --broker-token=...
❌ Failed to load pact from JSON: Err(Could not parse matcher JSON Object {"match": String("ignore-order"), "max": Number(0)}
Caused by:
ignore-order is not a valid matching rule type)
$ pact-broker --version
pact-broker 0.6.3
Downgrading the @pact-foundation/pact-cli from 18.0.0 to the next most recent 16.1.7 fixes this problem. So we assume the error sits somewhere in this project, as the backend was changed to this project between these versions.
Hi, we stumbeled across the following error when trying to upload pacts.
When trying to upload the following contract:
we observe the following:
Downgrading the
@pact-foundation/pact-clifrom 18.0.0 to the next most recent 16.1.7 fixes this problem. So we assume the error sits somewhere in this project, as the backend was changed to this project between these versions.