Good morning everyone. We are working on connecting our AB test system to Plasmic AB test variants (with codegen). We have it working in a way that requires us to manually add the variant providers for new experiments. I see PlasmicRootProvider takes a globalVariants prop that also handles variant selection… or there is a variation prop that can take external IDs for experiment selection… I may be confusing these props? The shape of their values is different I believe:
PlasmicRootProvider.globalVariants:
{name: /* experiment name */, value: /* selected variant */}
PlasmicRootProvider.variation:
{
ext.${/* external experiment id */}: /* external id for selected variant */}
Both approaches are not selecting variants as we hope. Our backup plan is a script that inserts variant providers with values/selections at build time… but hoping there is an easier way.
Any hints appreciated!