Skip to content
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

Merged
merged 18 commits into from
Jan 17, 2024

Conversation

amerjusupovic
Copy link
Member

No description provided.

@amerjusupovic amerjusupovic marked this pull request as ready for review October 25, 2023 18:40
@amerjusupovic amerjusupovic marked this pull request as draft October 25, 2023 18:41
@amerjusupovic amerjusupovic marked this pull request as ready for review November 21, 2023 23:58
@amerjusupovic amerjusupovic marked this pull request as draft December 18, 2023 20:46
@amerjusupovic amerjusupovic marked this pull request as ready for review January 10, 2024 00:25
@@ -15,5 +16,14 @@ internal class FeatureFlag

[JsonPropertyName("conditions")]
public FeatureConditions Conditions { get; set; }

[JsonPropertyName("variants")]
public List<FeatureVariant> Variants { get; set; }
Copy link
Member

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?

Copy link
Member Author

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, IEnumerable instead.

@amerjusupovic amerjusupovic merged commit 9208238 into preview Jan 17, 2024
2 checks passed
@amerjusupovic amerjusupovic deleted the ajusupovic/support-variants branch January 17, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants