-
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
Add support for collections injection for fromProviderState
#73
Comments
Bringing this issue into our sprint review for discussion. |
👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-2576). 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. |
Just a note that we weren't able to review this in the next sprint. We will review this again in approximately 2 weeks. |
Work has begun on this ticket. |
I am trying to use
fromProviderState
for gRPC/protobuf to inject data into the request at verification time.This works great if you are injecting a singular value like String but doesn't work when trying to inject a collection (such as a List of Strings)
This however does work for the REST stack see usage of valueFromProviderState
I'm using a SpringBoot + JUnit5 + PactJVM + Pact protobuf plugin 0.5.1
From Ron:
Is there a way to enhance the existing
fromProviderState
implementation to allow injection of collections? (maybe have something likecollectionFromProviderState
?)The text was updated successfully, but these errors were encountered: