Tim Vahlbrock
06/14/2024, 8:43 AMTim Vahlbrock
06/14/2024, 8:44 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Tim Vahlbrock
06/17/2024, 6:19 AMTim Vahlbrock
06/17/2024, 6:22 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Tim Vahlbrock
06/17/2024, 6:54 AMTim Vahlbrock
06/17/2024, 6:55 AMWhich stub server are you using, out of interest?The one that can be run using npx. I think that's the ruby version that's downloaded by the js-cli
Tim Vahlbrock
06/17/2024, 6:56 AMTim Vahlbrock
06/17/2024, 7:00 AMYes I think so. I know that this is possible with pact stub server too, but only when launching, right?I just remembered, probably collections are relevant too, which are basically a set of different variants activated. I think you can't actually activate individual variants, but only collections containing variants. But for the pact stub server it might be fine to just be able to enable and disable each interaction.
Matt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)
@Yousaf Nabi (pactflow.io) I think this is yet another argument to remove the CLI from Node JS, because it encourages both the old verifier and stub service to be used against our recommendationMmm yeah, I’ve thought this, especially as pact-js-cli will expose the api interface to those legacy interfaces (pact-mock-service / pact-provider-verifier / pact-stub-service) Now we’ve done work to reduce the size of the pact rust executables, we can look to provide side by side replacements for the rust/ruby. There was some thoughts in pact ruby standalone about how we could provide all in one place for the legacy and current tooling https://github.com/pact-foundation/pact-ruby-standalone/issues/8#issuecomment-1584936486 and hopefully the api can be over the pact rust cli tools.