Skip to content

feat: update InterfaceStubGenerator to be an incremental generator #1185

feat: update InterfaceStubGenerator to be an incremental generator

feat: update InterfaceStubGenerator to be an incremental generator #1185

Triggered via pull request October 10, 2024 15:21
Status Success
Total duration 6m 4s
Artifacts 1

ci-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build / build
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 / build: 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 / build: InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L28
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
build / build: 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 / build: Refit/MultipartItem.cs#L12
Abstract type 'MultipartItem' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
build / build: Refit/MultipartItem.cs#L133
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
build / build: Refit/ProblemDetails.cs#L13
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build: Refit/ProblemDetails.cs#L20
Change 'Extensions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build: Refit/RefitSettings.cs#L136
Change 'HttpRequestMessageOptions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build: Refit/ValidationApiException.cs#L9
Add the following constructor to ValidationApiException: public ValidationApiException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)
build / build: Refit/ValidationApiException.cs#L9
Add the following constructor to ValidationApiException: public ValidationApiException(string message, Exception innerException) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032)

Artifacts

Produced during runtime
Name Size
nuget
647 KB