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 back getters returning Optional to MetricsInstrumentationState #1801

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

kilink
Copy link
Member

@kilink kilink commented Jan 24, 2024

A previous change inadvertently broke API compatibility, since MetricsInstrumentationState is exposed externally; to restore compat, add getters that return Optional; move the nullable properties to properties suffixed with "Value" and with an internal visibility.

A previous change inadvertently broke API compatibility, since MetricsInstrumentationState is
exposed externally; to restore compat, add getters that return Optional; move the nullable
properties to properties suffixed with "Value" and with an internal visibility.
Copy link
Contributor

@srinivasankavitha srinivasankavitha 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 good to me! Thanks for the fix.

@kilink kilink merged commit 8602158 into master Jan 25, 2024
3 checks passed
@kilink kilink deleted the backwards-compat-metrics-instrumentation branch January 25, 2024 04:56
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