Fixed Warnings #395
Annotations
1 error and 12 warnings
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
src/HotChocolate/Utilities/src/Utilities/ServiceException.cs#L20
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
src/StrawberryShake/Client/src/Core/GraphQLClientException.cs#L106
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
src/HotChocolate/Core/src/Execution/DependencyInjection/InternalSchemaServiceCollectionExtensions.cs#L51
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ServiceProviderServiceExtensions.GetRequiredService<T>(IServiceProvider)'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|
src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.Instrumentation.cs#L54
The type 'GreenDonut.IDataLoaderDiagnosticEventListener?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, Func<IServiceProvider, TService>)'. Nullability of type argument 'GreenDonut.IDataLoaderDiagnosticEventListener?' doesn't match 'class' constraint.
|
src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.Instrumentation.cs#L54
Converting null literal or possible null value to non-nullable type.
|
src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.Instrumentation.cs#L54
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, IDataLoaderDiagnosticEventListener?>' (possibly because of nullability attributes).
|
src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.Instrumentation.cs#L64
Possible null reference return.
|
src/HotChocolate/Core/src/Execution/DependencyInjection/InternalSchemaServiceCollectionExtensions.cs#L51
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ServiceProviderServiceExtensions.GetRequiredService<T>(IServiceProvider)'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
|
src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.Instrumentation.cs#L54
The type 'GreenDonut.IDataLoaderDiagnosticEventListener?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, Func<IServiceProvider, TService>)'. Nullability of type argument 'GreenDonut.IDataLoaderDiagnosticEventListener?' doesn't match 'class' constraint.
|
src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.Instrumentation.cs#L54
Converting null literal or possible null value to non-nullable type.
|
.build/Build.Publish.cs#L19
The field 'Build.MyGetSource' is assigned but its value is never used
|
The logs for this run have expired and are no longer available.
Loading