Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Troubleshooting — EricksonLopez.Processes

Common analyzer, generator, and API issues in EricksonLopez.Processes (2.0.0).

ProcessTransitionAnalyzer (PROC003) emits a compiler warning (fatal under TreatWarningsAsErrors=true) if a process or saga uses non-terminal transitions (Advance, Suspend, Compensate) without at least one reachable terminal transition (Complete, Fail, or Compensated). Ensure every saga/process defines a terminal handler branch.

ProcessTransitionResult<TState>.Compensate(TState state, IEnumerable<CompensationAction>? compensationActions = null) does not accept a reason parameter. Supply only state and optional compensationActions.

EricksonLopez.Processes.Generator emits GeneratedProcessRegistryExtensions.g.cs calling services.AddSingleton(...) inside namespace EricksonLopez.Processes.Generated; without an explicit using Microsoft.Extensions.DependencyInjection; directive. In projects with <ImplicitUsings>disable</ImplicitUsings>, either add a global using Microsoft.Extensions.DependencyInjection; file or register ProcessRegistry explicitly via services.AddProcesses() without referencing EricksonLopez.Processes.Generator.