How can i get the matching working for array conta...
# protobufs
s
How can i get the matching working for array containing strings inside a grpc request ? I tried eachValue but i am not sure if i am doing it right ! Basically I would like to check all values inside an array are strings : ["data1", "data2"] !
m
s
Thanks Matt! I was looking at how to add it from go side . Do you have a similar example ? https://github.com/pact-foundation/pact-go/blob/2.x.x/examples/grpc/grpc_consumer_test.go
👍 1
m
I don’t sorry
s
Ah ok ! No problem ! Thanks
Please let me know when you have an example from the go side so we could implement it 🙂
@Matt (pactflow.io / pact-js / pact-go) can you help me on how i can achieve this ? Dont need a full blown example, but If you can paste matchers here to achieve this, it would be helpful.