Open mefellows opened 1 year ago
See also https://github.com/pactflow/example-consumer-java-junit/issues/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?
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