-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query keys with angled brackets treated as arrays #1766
Labels
bug
Indicates an unexpected problem or unintended behavior
smartbear-supported
SmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear
Comments
Can you provide the tests that cause this? |
rholshausen
added a commit
that referenced
this issue
Feb 15, 2024
rholshausen
added a commit
that referenced
this issue
Feb 15, 2024
rholshausen
added
bug
Indicates an unexpected problem or unintended behavior
smartbear-supported
SmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear
labels
Feb 15, 2024
rholshausen
added a commit
that referenced
this issue
Feb 16, 2024
…ing written in V2 format correctly #1766
4.6.7 released with this fix |
rholshausen
added a commit
that referenced
this issue
Apr 22, 2024
…ing written in V2 format correctly #1766
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
smartbear-supported
SmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear
Java 21, dependency version 4.6.5+
from Slack https://pact-foundation.slack.com/archives/C9UN99H24/p1707392044235519
We found an odd issue with the pact jvm consumer dependency update, from version
4.6.5
and up, specifically with query matchers. One provider we use has queries that have square brackets[]
in them, i.e.principle_identifier[account_id]
etc. When running pact tests to generate a contract, running individual test classes runs fine, but as soon as another test class is added to run together, the second class throws errors, seemingly treating the brackets in the query key as an array:Again, both classes run individually pass, the first class in the run list passes, even if they're swapped, and the second one throws this error.
Downgrading to v4.6.4 works for now.
The text was updated successfully, but these errors were encountered: