Implementing .NET Dapr SDK-wide nullability annotations #1410
Annotations
23 errors and 2 warnings
run integration tests (8.0):
examples/Client/StateManagement/StateStoreTransactionsExample.cs#L41
Cannot convert null literal to non-nullable reference type.
|
run integration tests (8.0):
examples/Client/StateManagement/StateStoreETagsExample.cs#L38
Dereference of a possibly null reference.
|
run integration tests (8.0):
examples/Client/StateManagement/StateStoreETagsExample.cs#L51
Dereference of a possibly null reference.
|
run integration tests (8.0):
examples/Client/StateManagement/StateStoreETagsExample.cs#L64
Dereference of a possibly null reference.
|
run integration tests (8.0):
examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs#L34
Dereference of a possibly null reference.
|
run integration tests (8.0):
examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs#L45
Dereference of a possibly null reference.
|
run integration tests (8.0):
test/Shared/TestClient.cs#L419
Nullability of reference types in value of type '(HttpRequestMessage request, TestClient.CaptureToken? capture, Task task)' doesn't match target type '(HttpRequestMessage, TestClient.CaptureToken, Task)'.
|
run integration tests (8.0):
test/Shared/TestClient.cs#L419
Use of unassigned local variable 'request'
|
run integration tests (8.0):
test/Shared/TestClient.cs#L419
Nullability of reference types in value of type '(HttpRequestMessage request, TestClient.CaptureToken? capture, Task task)' doesn't match target type '(HttpRequestMessage, TestClient.CaptureToken, Task)'.
|
run integration tests (8.0):
test/Shared/TestClient.cs#L419
Use of unassigned local variable 'request'
|
run integration tests (6.0)
The job was canceled because "_8_0" failed.
|
run integration tests (6.0):
examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs#L34
Dereference of a possibly null reference.
|
run integration tests (6.0):
examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs#L45
Dereference of a possibly null reference.
|
run integration tests (6.0):
src/Dapr.Actors/Builder/ActorCodeBuilder.cs#L31
The type 'System.Type?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'System.Type?' doesn't match 'notnull' constraint.
|
run integration tests (6.0):
src/Dapr.Actors/Builder/ActorCodeBuilder.cs#L32
The type 'System.Type?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'System.Type?' doesn't match 'notnull' constraint.
|
run integration tests (6.0):
src/Dapr.Actors/Builder/ActorCodeBuilder.cs#L33
The type 'System.Type?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'System.Type?' doesn't match 'notnull' constraint.
|
run integration tests (6.0):
src/Dapr.Actors/Runtime/ActorRuntime.cs#L33
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
|
run integration tests (6.0):
src/Dapr.Actors/Runtime/ActorManager.cs#L39
The type 'Dapr.Actors.ActorId?' cannot be used as type parameter 'TKey' in the generic type or method 'ConcurrentDictionary<TKey, TValue>'. Nullability of type argument 'Dapr.Actors.ActorId?' doesn't match 'notnull' constraint.
|
run integration tests (6.0):
src/Dapr.Actors/Communication/ActorResponseMessageBody.cs#L30
Nullability of reference types in return type of 'object? ActorResponseMessageBody.Get(Type paramType)' doesn't match implicitly implemented member 'object IActorResponseMessageBody.Get(Type paramType)' (possibly because of nullability attributes).
|
run integration tests (6.0):
src/Dapr.Actors/Communication/ActorResponseMessageHeader.cs#L36
Nullability of reference types in type of parameter 'headerValue' of 'void ActorResponseMessageHeader.AddHeader(string headerName, byte[] headerValue)' doesn't match implicitly implemented member 'void IActorResponseMessageHeader.AddHeader(string headerName, byte[]? headerValue)' (possibly because of nullability attributes).
|
run integration tests (6.0):
src/Dapr.Actors/Builder/MethodDispatcherBuilder.cs#L84
Possible null reference argument for parameter 'type' in 'object? Activator.CreateInstance(Type type)'.
|
run integration tests (7.0)
The job was canceled because "_8_0" failed.
|
run integration tests (7.0)
The operation was canceled.
|
run integration tests (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run integration tests (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|