feat: add derived type argument tests #1883
Merged
Annotations
11 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: glennawatson/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build DotNet:
Refit/SystemTextJsonContentSerializer.cs#L98
XML comment on 'ObjectToInferredTypesConverter.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)' has a typeparamref tag for 'T', but there is no type parameter by that name
|
Build DotNet:
Refit/EnumerableExtensions.cs#L24
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
Build DotNet:
InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L28
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
|
Build DotNet:
InterfaceStubGenerator.Shared/Emitter.cs#L179
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
Build DotNet:
InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L184
Type 'SyntaxReceiver' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
Build DotNet:
Refit/EnumerableExtensions.cs#L24
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
Build DotNet:
Refit/MultipartItem.cs#L12
Abstract type 'MultipartItem' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
|
Build DotNet:
Refit/EnumerableExtensions.cs#L26
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
Build DotNet:
Refit/EnumerableExtensions.cs#L26
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
Build DotNet:
Refit/MultipartItem.cs#L133
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
|
Loading