-
Notifications
You must be signed in to change notification settings - Fork 786
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
Increase use of NotNullWhen polyfill #6090
base: main
Are you sure you want to change the base?
Increase use of NotNullWhen polyfill #6090
Conversation
LGTM. You have conflicts with main and will need to update your branch |
conflicts resolved |
@@ -13,6 +13,7 @@ | |||
[assembly: InternalsVisibleTo("OpenTelemetry.Extensions.Hosting" + AssemblyInfo.PublicKey)] | |||
[assembly: InternalsVisibleTo("OpenTelemetry.Extensions.Hosting.Tests" + AssemblyInfo.PublicKey)] | |||
[assembly: InternalsVisibleTo("OpenTelemetry.Tests" + AssemblyInfo.PublicKey)] | |||
[assembly: InternalsVisibleTo("OpenTelemetry.Api.Tests" + AssemblyInfo.PublicKey)] |
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 doesn't seem logically sound—an implementation exposing its internal details to the API. I understand it's intended for a test project, but it's better to avoid this approach.
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.
@rajkumar-rangaraj how is this different than the internalsvsiible to for OpenTelemetry.Extensions.Hosting.Tests, OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests, OpenTelemetry.Exporter.Prometheus.AspNetCore.Tests, and OpenTelemetry.Extensions.Hosting.Tests
Fixes #
Design discussion issue #
Changes
also allows us to remove some redundant
!
null suppressionsMerge requirement checklist
CHANGELOG.md
files updated for non-trivial changes