-
Notifications
You must be signed in to change notification settings - Fork 70
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
Pact stub service throws error for query values with matching rules #140
Comments
See also pactflow/example-consumer-java-junit#27 Tagging @rebutler97 |
Hm. It deserializes the query as a map of string key to array values, and then the matcher can't be matched to an array. |
Thanks Beth. Should the matcher be applied to each element of the query? Or is it an incorrect matcher serialisation, which should instead be in "eachLike" form? |
Just noting that AFAIK, there is no standardised format for query strings beyond which characters are allowed, and which characters are separators (there isn't even a defacto convention, which is very annoying), so I think it's worth clearly documenting whatever choices Pact makes. |
Hi, looping back around on this. Is this some change I can do or will this be more of a bug fix? |
Pre issue-raising checklist
I have already (please mark the applicable with an
x
):Software versions
Expected behaviour
Pact stub service can match on query strings
Actual behaviour
Error is thrown
Steps to reproduce
Given the following v2 pact file saved to
/tmp/test.json
:Running the following command
Results in the error:
Relevant log files
n/a
The text was updated successfully, but these errors were encountered: