From 74cf9d9296c6bb35f56bfd0486cf2d74cd25f9c3 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Sun, 12 Apr 2026 13:33:41 -0500 Subject: [PATCH 1/2] Updated analyzer documentation to reflect changes in https://github.com/dapr/dotnet-sdk/pull/1774 Signed-off-by: Whit Waldo --- .../dotnet-guidance/dotnet-guidance-source-generators.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md b/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md index 32d9d9be00a..99561ae6e4e 100644 --- a/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md +++ b/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md @@ -61,6 +61,8 @@ the `EnableNETAnalyzers` property to `false` in your csproj file. | -- | -- |------------------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------| -- | | DAPR1301 | Dapr.Workflow | Usage | Warning | 1.16 | The workflow type is not registered with the dependency injection provider | Yes | | DAPR1302 | Dapr.Workflow | Usage | Warning | 1.16 | The workflow activity type is not registered with the dependency injection provider | Yes | +| DAPR1303 | Dapr.Workflow | Usage | Warning | The provided input type does not match the target workflow or activity input type | +| DAPR1304 | Dapr.Workflow | Usage | Warning | The requested output type does not match the target workflow activity output type | | DAPR1401 | Dapr.Actors | Usage | Warning | 1.16 | Actor timer method invocations require the named callback method to exist on type | No | | DAPR1402 | Dapr.Actors | Usage | Warning | 1.16 | The actor type is not registered with dependency injection | Yes | | DAPR1403 | Dapr.Actors | Interoperability | Info | 1.16 | Set options.UseJsonSerialization to true to support interoperability with non-.NET actors | Yes | From 6a5f649ff902488b752ee1d0dcbd3ab8adfbe1a0 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Sun, 12 Apr 2026 18:18:56 -0500 Subject: [PATCH 2/2] Updated to add version it was added to table Signed-off-by: Whit Waldo --- .../dotnet-guidance-source-generators.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md b/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md index 99561ae6e4e..fddd448b34a 100644 --- a/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md +++ b/sdkdocs/dotnet/content/en/dotnet-sdk-docs/dotnet-guidance/dotnet-guidance-source-generators.md @@ -57,17 +57,17 @@ the `EnableNETAnalyzers` property to `false` in your csproj file. ## Available Analyzers -| Diagnostic ID | Dapr Package | Category | Severity | Version Added | Description | Code Fix Available | -| -- | -- |------------------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------| -- | -| DAPR1301 | Dapr.Workflow | Usage | Warning | 1.16 | The workflow type is not registered with the dependency injection provider | Yes | -| DAPR1302 | Dapr.Workflow | Usage | Warning | 1.16 | The workflow activity type is not registered with the dependency injection provider | Yes | -| DAPR1303 | Dapr.Workflow | Usage | Warning | The provided input type does not match the target workflow or activity input type | -| DAPR1304 | Dapr.Workflow | Usage | Warning | The requested output type does not match the target workflow activity output type | -| DAPR1401 | Dapr.Actors | Usage | Warning | 1.16 | Actor timer method invocations require the named callback method to exist on type | No | -| DAPR1402 | Dapr.Actors | Usage | Warning | 1.16 | The actor type is not registered with dependency injection | Yes | -| DAPR1403 | Dapr.Actors | Interoperability | Info | 1.16 | Set options.UseJsonSerialization to true to support interoperability with non-.NET actors | Yes | -| DAPR1404 | Dapr.Actors | Usage | Warning | 1.16 | Call app.MapActorsHandlers to map endpoints for Dapr actors | Yes | -| DAPR1501 | Dapr.Jobs | Usage | Warning | 1.16 | Job invocations require the MapDaprScheduledJobHandler to be set and configured for each anticipated job on IEndpointRouteBuilder | No | +| Diagnostic ID | Dapr Package | Category | Severity | Version Added | Description | Code Fix Available | +|---------------|---------------|------------------|----------|---------------|-----------------------------------------------------------------------------------------------------------------------------------|--------------------| +| DAPR1301 | Dapr.Workflow | Usage | Warning | 1.16 | The workflow type is not registered with the dependency injection provider | Yes | +| DAPR1302 | Dapr.Workflow | Usage | Warning | 1.16 | The workflow activity type is not registered with the dependency injection provider | Yes | +| DAPR1303 | Dapr.Workflow | Usage | Warning | 1.17 | The provided input type does not match the target workflow or activity input type | No | +| DAPR1304 | Dapr.Workflow | Usage | Warning | 1.17 | The requested output type does not match the target workflow activity output type | No | +| DAPR1401 | Dapr.Actors | Usage | Warning | 1.16 | Actor timer method invocations require the named callback method to exist on type | No | +| DAPR1402 | Dapr.Actors | Usage | Warning | 1.16 | The actor type is not registered with dependency injection | Yes | +| DAPR1403 | Dapr.Actors | Interoperability | Info | 1.16 | Set options.UseJsonSerialization to true to support interoperability with non-.NET actors | Yes | +| DAPR1404 | Dapr.Actors | Usage | Warning | 1.16 | Call app.MapActorsHandlers to map endpoints for Dapr actors | Yes | +| DAPR1501 | Dapr.Jobs | Usage | Warning | 1.16 | Job invocations require the MapDaprScheduledJobHandler to be set and configured for each anticipated job on IEndpointRouteBuilder | No | ## Analyzer Categories The following are each of the eligible categories that an analyzer can be assigned to and are modeled after the