-
Notifications
You must be signed in to change notification settings - Fork 123
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 1650787 - Implement JWE metric in the bindings #1073
Conversation
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.
The same consideration apply to all the bindings!
glean-core/android/src/main/java/mozilla/telemetry/glean/private/JweMetricType.kt
Outdated
Show resolved
Hide resolved
glean-core/android/src/main/java/mozilla/telemetry/glean/private/JweMetricType.kt
Outdated
Show resolved
Hide resolved
glean-core/android/src/main/java/mozilla/telemetry/glean/private/JweMetricType.kt
Outdated
Show resolved
Hide resolved
* setWithCompactRepr -> setWithCompactRepresentation * testGetValueAsPeriodDelimitedString -> testGetCompactRepresentation
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.
r+ on all the bindings except Swift :) - please flag a Swift peer for reviewing the Swift parts.
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.
Looks great! Holy smokes it's a lot of work to add one of these now ;)
Just a question about the JSON result, really...
glean-core/android/src/main/java/mozilla/telemetry/glean/private/JweMetricType.kt
Show resolved
Hide resolved
glean-core/android/src/test/java/mozilla/telemetry/glean/private/JweMetricTypeTest.kt
Show resolved
Hide resolved
* Return `JweData` struct from test_get_value (all bindings); * Add explicit test for `test_get_value` for each binding; * Fix docstring for python get_test_* functions.
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.
My main concern that I felt required some changes is where you are using force casts. If you could at least reassure me that it could never fail, I'll approve this. Other than that, this looks great from a Swift perspective!
No description provided.