Stanislav Vodetskyi
08/30/2024, 12:24 AM${pactbroker.providerVersionDescriptions} is a string, but it seems on the broker side it's actually a list?
Like in my webhook logs I can see that originally it's a list: "provider_version_descriptions":["latest from main branch"]
but then when my webhook is called it's converted to a string: "provider_version_descriptions":"latest from main branch".
My webhook was created with "provider_version_descriptions": "${pactbroker.providerVersionDescriptions}" as parameter.
So the questions are:
• can there be more than one version description? I'd guess if the same version is deployed in prod and is also the latest master, it would be a list?
• is it possible to pass it as a list to the webhook endpoint, like can I just specify smth like "provider_version_descriptions": ["${pactbroker.providerVersionDescriptions}"] as a parameter?Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Stanislav Vodetskyi
08/30/2024, 1:38 AM