Refactor Blazor components #4
Annotations
10 warnings
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L25
Dereference of a possibly null reference.
|
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L29
The type 'YouTubeSummariser.ApiApp.Configurations.OpenAISettings?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, TService)'. Nullability of type argument 'YouTubeSummariser.ApiApp.Configurations.OpenAISettings?' doesn't match 'class' constraint.
|
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L31
Dereference of a possibly null reference.
|
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L35
The type 'YouTubeSummariser.ApiApp.Configurations.PromptSettings?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, TService)'. Nullability of type argument 'YouTubeSummariser.ApiApp.Configurations.PromptSettings?' doesn't match 'class' constraint.
|
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L37
Dereference of a possibly null reference.
|
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L37
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
|
Build Test:
src/YouTubeSummariser.ApiApp/Program.cs#L38
Possible null reference argument for parameter 'key' in 'AzureKeyCredential.AzureKeyCredential(string key)'.
|
Build Test:
src/YouTubeSummariser.ApiApp/Services/YouTubeService.cs#L41
Possible null reference argument for parameter 'source' in 'IEnumerable<string?> Enumerable.Select<SubtitleText, string?>(IEnumerable<SubtitleText> source, Func<SubtitleText, string?> selector)'.
|
Build Test:
src/YouTubeSummariser.ApiApp/Services/YouTubeService.cs#L45
Possible null reference return.
|
Build Test:
src/YouTubeSummariser.Components/YouTubeSummariserComponent.razor.cs#L15
Non-nullable property 'YouTube' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|