-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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"
}
]
}
}
zhiyuanliang-ms
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request