Do you need to annotate pacts with tags as well as...
# general
b
Do you need to annotate pacts with tags as well as branches to be able to use pendingPacts?
m
No, you can use tags OR branches (or both)
b
So I can set the providerTags parameter in the Java jUnit 5 verification to the branch name? (Happy to post this in #pact-jvm if that’s more appropriate)
m
hmm best asked in pact jvm
I don’t know if JVM supports branches yet off the top of my head
(I can take a look later)
b
Looks like the support is mixed
m
OK, so the main Java API does not yet support branches, but you can do it with JSON in the relevant system property: https://github.com/pact-foundation/pact-jvm/pull/1471
(basically, that bypasses the usual validation and just passes JSON straight to the broker)
🙌 1