Skip to content

ignore-order is not a valid matching rule type #49

Description

@liwa-datev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions