`ignore-order` is not a valid matching rule type
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
Research direction
Reproduce the failure by publishing the attached pact.json with pact-broker 0.6.3, using the command shown in the issue, and compare it with pact-cli 16.1.7. Trace the matcher JSON parsing for the ignore-order rule; done means the contract uploads successfully on the current version without rejecting that matcher.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 2
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pact-foundation/pact-cli
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
pact-foundation/pact-cli#57 · 3 comments ·
Maintainers usually reply within 4 days
-
Dependency DashboardOpen
Difficulty 5/5 Over a week Newbie friendliness 15/100
pact-foundation/pact-cli#14 ·
Maintainers usually reply within 4 days
All issues in pact-foundation/pact-cli
Similar issues
-
postgresql-rules / queue-rules: implicit KEY SHARE before a parent key update, and job self-overlapOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jonathanong/no-mistakes#3879 ·
Maintainers usually reply within 1 day
-
area:index v0.35.0
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nautechsystems/nautilus_trader#5741 ·
Maintainers usually reply within 1 day
-
RunPlugin derives Hash over all fields while PartialEq compares only location and configurationOpen
Difficulty 1/5 Under an hour Newbie friendliness 86/100
zellij-org/zellij#5969 ·
Maintainers usually reply within 1 day
-
eth_get_proof reports another account's fields for an absent accountPossibly taken @Indian-boult claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day