You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should have a variant sample that has non-string variant values. #30
Which programming language are you using? In strong-typed language like C#, "multi-typed" value doesn't make a lot of sense to me. The configuration_value can be an object.
Could you give us more details about your scenario and motivation why you want to use a single variant for "multi-typed" configuration value? Could you give us a code snippet showing how you will consume the variant configuration value? We are very glad to learn more about how our customers will use variant feature flags.
Jimmy Campbell (@jimmypc92) That's a good call. BTW, which programming language would you like the example to be written in? In the long run, we will create examples for all language we support (C#, JS, java, python). But it might take some time.
Activity
zhiyuanliang-ms commentedon Mar 3, 2025
Hi, Jimmy Campbell (@jimmypc92). Thanks for reaching out!
Which programming language are you using? In strong-typed language like C#, "multi-typed" value doesn't make a lot of sense to me. The
configuration_valuecan be an object.Could you give us more details about your scenario and motivation why you want to use a single variant for "multi-typed" configuration value? Could you give us a code snippet showing how you will consume the variant configuration value? We are very glad to learn more about how our customers will use variant feature flags.
jimmypc92 commentedon Mar 3, 2025
I mean the configuration_value can be more than a string. See:
FeatureManagement/Schema/FeatureFlag.v2.0.0.schema.json
Line 151 in e822457
zhiyuanliang-ms commentedon Mar 4, 2025
Jimmy Campbell (@jimmypc92) That's a good call. BTW, which programming language would you like the example to be written in? In the long run, we will create examples for all language we support (C#, JS, java, python). But it might take some time.