You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from 3.x to 4.1.x I've noticed consumer side no longer publishes providerStates on some Pacts we have.
It took quite a while to narrow the thing down. In Short:
newPactBuilder().with {
given 'foo'
uponReceiving 'bar'// ...
}
...works as expected whilst:
newPactBuilder().with {
uponReceiving 'bar'
given 'foo'// ...
}
...does not publish the state.
Is it by design?
Although it makes more sense to declare a state first and then an action, order of DSL method invocations shouldn't really matter, should it?
Thanks!
The text was updated successfully, but these errors were encountered:
After upgrading from 3.x to 4.1.x I've noticed consumer side no longer publishes
providerStates
on some Pacts we have.It took quite a while to narrow the thing down. In Short:
...works as expected whilst:
...does not publish the state.
Is it by design?
Although it makes more sense to declare a state first and then an action, order of DSL method invocations shouldn't really matter, should it?
Thanks!
The text was updated successfully, but these errors were encountered: