Skip to content
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

feat: allow multi values for regex matcher #353

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

tienvx
Copy link
Contributor

@tienvx tienvx commented Oct 28, 2023

This feature allow to use regex matcher to match multiple values for query parameter and header. See pact-foundation/pact-reference#332

This feature is mostly for compatibility suite, in v2/http_consumer feature, with these scenarios:

  • Supports matchers for repeated request query parameters (positive case)
  • Supports matchers for repeated request query parameters (negative case)

@tienvx
Copy link
Contributor Author

tienvx commented Oct 28, 2023

Marked as Draft, because I need to test with compatibility suite first. PHP has 2 different behaviors when it come to the multiple values for query parameter.

@tienvx tienvx force-pushed the allow-multi-values-regex-matcher branch from 0330fcb to 9f13937 Compare October 30, 2023 08:45
@tienvx tienvx force-pushed the allow-multi-values-regex-matcher branch from 9f13937 to c19dca8 Compare October 31, 2023 03:57
@tienvx tienvx marked this pull request as ready for review October 31, 2023 05:36
@tienvx
Copy link
Contributor Author

tienvx commented Oct 31, 2023

Marked as ready. I tested with compatibility suite and it works fine.

@YOU54F
Copy link
Member

YOU54F commented Nov 3, 2023

Looks like we've ran out of credits on cirrus-ci post changes to their pricing models

https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/

so we can ignore the failing cirrus-ci tasks for now

@tienvx tienvx merged commit c4a3fc7 into pact-foundation:ffi Nov 3, 2023
20 of 26 checks passed
@tienvx tienvx deleted the allow-multi-values-regex-matcher branch November 3, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants