Variants are going to be a huge boon to this library and I'm excited to leverage them. I often find myself creating custom filters that evaluate based on the application state rather than the traditional user centric targeting scenarios. It would be great if we could allocate variants based on these filters. Perhaps something like:
"FeatureManagement":
{
"MyVariantFeatureFlag":
{
"Allocation": {
"DefaultWhenEnabled": "Small",
"AllocatedFor": [
{
"Name": "CustomFilter",
"Parameters": {
"SomeParam": "SomeValue"
},
"Variant": "Big"
}
]
},
"Variants": [
{
"Name": "Big"
},
{
"Name": "Small"
}
]
}
}
Variants are going to be a huge boon to this library and I'm excited to leverage them. I often find myself creating custom filters that evaluate based on the application state rather than the traditional user centric targeting scenarios. It would be great if we could allocate variants based on these filters. Perhaps something like: