Skip to content

Conversation

@crgee1
Copy link
Contributor

@crgee1 crgee1 commented Dec 17, 2025

@crgee1 crgee1 requested a review from a team December 17, 2025 00:43
[JsonProperty("field")]
public string Field { get; set; }
[JsonProperty("value")]
public string CountedValue { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should keep to how the API names fields in case value is used in another aggregation type in the future. wdyt?

Suggested change
public string CountedValue { get; set; }
public string Value { get; set; }

Copy link
Contributor

Choose a reason for hiding this comment

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

separately, should we support other value types like int and boolean as well? I think the current implementation doesn't allow counting of those types of values atm. Maybe we can use generics or object instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The data type change makes sense.

In regards to the name, .NET has a limitation where the property can't have the same name as the class it's within, and changing the class name at this point would be a bigger change than planned

@crgee1 crgee1 requested a review from Mudaafi December 18, 2025 19:45
Copy link
Contributor

@Mudaafi Mudaafi left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for making the changes

@Mudaafi Mudaafi merged commit 488627d into main Dec 19, 2025
1 check failed
@Mudaafi Mudaafi deleted the ci-5057-net-add-value_count-support-to-variations_map branch December 19, 2025 22:53
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.

3 participants