-
Notifications
You must be signed in to change notification settings - Fork 785
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
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6090 +/- ##
==========================================
- Coverage 86.40% 86.39% -0.01%
==========================================
Files 257 257
Lines 11649 11644 -5
==========================================
- Hits 10065 10060 -5
Misses 1584 1584
|
Fixes #
Design discussion issue #
Changes
also allows us to remove some redundant
!
null suppressionsMerge requirement checklist
CHANGELOG.md
files updated for non-trivial changes