Refactor summariser service #9
Annotations
10 warnings
src/YouTubeSummariser.Services/Services/YouTubeService.cs#L50
Possible null reference return.
|
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.
|
src/YouTubeSummariser.Components/YouTubeSummariserComponent.razor.cs#L18
Non-nullable property 'JSR' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
src/YouTubeSummariser.Components/ProgressBarJsInterop.cs#L38
Change ProgressBarJsInterop.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
|
src/YouTubeSummariser.ApiApp/Program.cs#L25
Dereference of a possibly null reference.
|
src/YouTubeSummariser.ApiApp/Program.cs#L29
The type 'YouTubeSummariser.Services.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.Services.Configurations.OpenAISettings?' doesn't match 'class' constraint.
|
src/YouTubeSummariser.ApiApp/Program.cs#L31
Dereference of a possibly null reference.
|
src/YouTubeSummariser.ApiApp/Program.cs#L35
The type 'YouTubeSummariser.Services.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.Services.Configurations.PromptSettings?' doesn't match 'class' constraint.
|
src/YouTubeSummariser.ApiApp/Program.cs#L37
Dereference of a possibly null reference.
|
src/YouTubeSummariser.ApiApp/Program.cs#L37
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
|
The logs for this run have expired and are no longer available.
Loading