Another question: has anybody ever used Pact in an...
# general
b
Another question: has anybody ever used Pact in an event-driven context where a single command resulted in a command-acknowledge and multiple subsequent events? How did you handle that? Does that work with Pact?
That is, a situation that looks like this:
y
you can do sync message testing with Pact V4 spec where you expect one or multiple responses however it isnt widely used at all and has some implementation gaps
b
Thanks mate. So this would only work with bindings that support Pact V4? Good to know. Most of them do by now I guess? Do you happen to know if there's a code example of this somewhere? Language isn't important
b
Legend
b
Awesome, I'm going to have a good look at this later today or tomorrow in prep for a client visit on Monday. I expect lots of follow up questions 😉
y
Added a ticket to track adding a sync message workshop https://github.com/pact-foundation/pact-workshop-message/issues/1 will fill it out with a bit more detail. Feel free to add any expectations or ideas of real world scenarios after your client visit if you want :)
b
Def will do that!
m
Thanks Yousaf! Do keep us in the loop Bas - as you know, end-users with use cases drives change.