Hi :slightly_smiling_face: Is it possible to speci...
# pact-jvm
i
Hi 🙂 Is it possible to specify a body field value is in range using
PactBuilder
and
PactDslJsonBody
(V4)?
u
Is in what range?
i
Hi @uglyog sorry for not being clear 🙂 Is it possible to specify a body field numeric value is in a certain range? for example that the field
$.count
is in between
0
and
100
? I know generators can define a range but I can not find that in the JVM DSL.
u
No, there is nothing like that
i
Thanks for the answer! is this planned? even only to control the generator?
u
No, nobody has request this before. You can raise a request at https://pact.canny.io/feature-requests
🙏 1