-
Notifications
You must be signed in to change notification settings - Fork 130
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
Bug 1648441 - Implement string list in C# #1108
Conversation
538bed3
to
1241047
Compare
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.
This looks good overall with the comments below addressed. Please kindly also add documentation for this in this page. Just transform the Kotlin example to C# and you should be done :) See, for example, how it's done for counters
I will be away tomorrow, so please ping @travis79 for any further review on this!
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 don't have anything to add to what @Dexterp37 mentioned. There were a handful of comments that needed some corrections.
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
[Fact] | ||
public void DisabledListMustNotRecordData() | ||
{ | ||
// Define a 'stringMetric' string metric, which will be stored in "store1" |
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.
// Define a 'stringMetric' string metric, which will be stored in "store1" | |
// Define a 'stringListMetric' string list metric, which will be stored in "store1" |
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
glean-core/csharp/GleanTests/Metrics/StringListMetricTypeTest.cs
Outdated
Show resolved
Hide resolved
6bc0ed3
to
dfcdb23
Compare
The broken Swift formatting is due to an update to the linting tool and may be ignored for now. I'll be working to fix it tomorrow. |
dfcdb23
to
a53558d
Compare
StringListMetricType C# binding.
Tests for StringListMetricType C# binding.