Hi all, In `Pact-jvm` you have the option to defi...
# pact-go
n
Hi all, In
Pact-jvm
you have the option to define different matching rules for an attribute using the OR condition. I have recently gone through the rust codebase of the
libpact_ffi
library which is used by pact-go and I didn't see any support for
OR
matching rules, at least for Pact V3 and V4. Is there any plan to introduce this feature? This is kind of useful as i have to deal with some cases when an attribute may be null, but if it isn't it must obey a certain regex.
m
No, OR is really not recommended and will not be supported in other languages. See the docs for why we don't support optional attributes
n
Thank you 👍
👍 1