GitHub
01/13/2025, 6:32 PMuponReceiving is not set.
from what i found its a required parameter.
if it can't be done; pls add it in the docs.
Use case
save debug time by failing fast if uponReceiving is not set.
Issue
my pact file was always having the last interaction no matter how i run the tests.
i wasted 2 days of debugging, thinking it was different pact instances causing the issue, trying to have global setup, finding PactfileWriteMode can help but not there in v4, removed cause rust core does merging by default, looking at debug traces, which says merging, yet it's not happening. after all this finding uponReceiving by chance.
very frustrated rn. :(
imho, instead of uponReceiving just putting description in builder would have helped too.
anyways, as a stupid person i would really appreciate some basic stupidity checks. :(
pact-foundation/pact-js