Skip to content

Conversation

@ChinYing-Li
Copy link
Contributor

The PR aims to solve bug 1709312.
TODO: examples of JavaScript API should be added to https://github.com/mozilla/glean/blob/main/docs/user/reference/metrics/quantity.md
Any suggestion is appreciated!

Copy link
Contributor

@Dexterp37 Dexterp37 left a comment

Choose a reason for hiding this comment

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

This looks really good already, thanks for doing it!
I have a few minor requests, below.

}

/**
* Sets to the specified quantity value.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you kindly add some more details here? For reference, here's the Rust trait for this same type.

@Dexterp37 Dexterp37 merged commit 6db66b7 into mozilla:main May 11, 2021
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