-
Notifications
You must be signed in to change notification settings - Fork 8
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
eachValue matcher not working as expected #22
Comments
👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-1017). We will use this to prioritise and assign a team member to this task. All activity will be public on this ticket. For now, sit tight and we'll update this ticket once we have more information on the next steps. |
…her was used with a repeated field #22
0.3.2 released with this fix |
@rholshausen It looks like there may still be an issue with nesting? Or could be user error on my part. Once I add the eachValue to the permissions field below (where permissions is just a repeated string):
I run into an error:
|
That's an interesting syntax. Ron is there something in Pact Go I need to support differently to allow this scenario? |
No, that should be all handled in the plugin |
This bit is wrong |
Ok, try 0.3.3. |
@rholshausen With 0.3.3, still seeing an issue with regex:
Looks like it may be adding double quotes to the string?
If I intentionally mismatch without a eachValue I don't see the double quotes in the error:
|
Actually, I guess it looks more like it is just pulling in some metadata/not parsing out the value properly? |
Ah, that is a bug with the Pact libs: pact-foundation/pact-reference#283. It will need the Pact libs to be released and then we can update the plugin. |
3rd time the charm? Try 0.3.4 |
Is working with 0.3.4 - tx! |
…her was used with a repeated field pactflow#22
Original issue: pact-foundation/pact-plugins#22
eachValue matcher for checking list of items not working as expected.
Getting below error from pact-plugin:
The text was updated successfully, but these errors were encountered: