Skip to content

Make various properties nullable and set default values #423

Make various properties nullable and set default values

Make various properties nullable and set default values #423

Triggered via push November 25, 2024 00:17
Status Success
Total duration 7m 30s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: Nhl.Api.Common/Extensions/EnumExtensions.cs#L18
Possible null reference return.
build: Nhl.Api.Common/Helpers/CountryCodeHelper.cs#L509
Possible null reference return.
build: Nhl.Api.Common/Http/NhlSuggestionApiHttpClient.cs#L11
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: Nhl.Api.Common/Http/NhlStaticAssetsApiHttpClient.cs#L11
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: Nhl.Api.Common/Http/NhlShiftChartHttpClient.cs#L11
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: Nhl.Api.Common/Http/NhlScoresHtmlReportsApiHttpClient.cs#L11
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: Nhl.Api.Common/Services/CachingService.cs#L75
Possible null reference argument for parameter 'bytes' in 'Task<string> CachingService.Decompress(byte[] bytes)'.
build: Nhl.Api.Common/Services/CachingService.cs#L76
Possible null reference return.
build: Nhl.Api.Common/Services/CachingService.cs#L79
Possible null reference return.
build: Nhl.Api.Common/Http/NhlEApiHttpClient.cs#L11
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.