-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for feature management variants and telemetry #476
Conversation
…otnetProvider into ajusupovic/support-variants
…otnetProvider into ajusupovic/support-variants
@@ -15,5 +16,14 @@ internal class FeatureFlag | |||
|
|||
[JsonPropertyName("conditions")] | |||
public FeatureConditions Conditions { get; set; } | |||
|
|||
[JsonPropertyName("variants")] | |||
public List<FeatureVariant> Variants { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be List?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was mostly doing this since we use List in the existing FeatureConditions
file, but looks like the code could be changed to use IEnumerable instead. Was that what you were suggesting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, IEnumerable instead.
No description provided.