Skip to content

feat: Set nullable for generated model classes #216

feat: Set nullable for generated model classes

feat: Set nullable for generated model classes #216

Triggered via pull request March 27, 2026 10:24
Status Success
Total duration 2m 29s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
build (8.x, net8.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1, t...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1,...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1,...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1,...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, tcp-2376-tls-native, tcp://localhost:2376, 1, /home/runner/certs/client, 1,...: src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (10.x, net10.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (10.x, net10.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, tcp-2375-native, tcp://localhost:2375, 1, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (9.x, net9.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (9.x, net9.0, unix, unix:///var/run/docker.sock, 0, false): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2375, tcp://localhost:2375, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
build (8.x, net8.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<AuthConfig, string?>' (possibly because of nullability attributes).
build (8.x, net8.0, tcp-2376-tls, tcp://localhost:2376, 1, /home/runner/certs/client, 0, true): src/Docker.DotNet/Endpoints/ImageOperations.cs#L310
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.