Closed thomashoneyman closed 5 months ago
@thomashoneyman, thank you for the report.
I can confirm, that you currently can't use diff-time
inside the property
annotation due to a missing translation, which I've added here: #1349
Is there any reason why you use Pact 4.8, and not a more recent version, i.e. Pact 4.10? The second example is working, as expected, in 4.10.
Thanks! No particular reason to be on 4.8, just haven’t yet updated to 4.10. So no worries on the second one.
Issue description
The Pact documentation notes that
diff-time
can be used in properties. However, if I attempt to use it in a property as in the below snippet:Then I receive the following error:
If I don't use
diff-time
in the property, I get an warning simply for usingdiff-time
in the body of a function that has a@model
:This produces the following warning:
This is on Pact 4.8.