Skip to content

Enable nullable reference types#1

Open
danmoseley wants to merge 3 commits intoimage-charts:masterfrom
danmoseley:enable-nullable-reference-types
Open

Enable nullable reference types#1
danmoseley wants to merge 3 commits intoimage-charts:masterfrom
danmoseley:enable-nullable-reference-types

Conversation

@danmoseley
Copy link

  • Add enable and nullable to both projects
  • Annotate nullable parameters and fields (secret, userAgent, validation headers)
  • Add null-forgiving operators on reflection calls in tests (GetField/GetValue)
  • Update test project to net8.0 for NRT support

Should be no breaking changes, but this required an update to target framework and lang ver. If you would rather not do that, or just don't like NRT, feel free to close this PR.

- Add <Nullable>enable</Nullable> and <WarningsAsErrors>nullable</WarningsAsErrors> to both projects
- Annotate nullable parameters and fields (secret, userAgent, validation headers)
- Add null-forgiving operators on reflection calls in tests (GetField/GetValue)
- Update test project to net8.0 for NRT support

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant