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.Idempotency

Common issues when integrating EricksonLopez.Idempotency (2.0.0) on .NET 10.

  • Symptom: CS1503 when passing a string content type as the second argument to new ExecutionResponse(...).
  • Fix: The second parameter is IReadOnlyDictionary<string, string[]>? headers = null, not string contentType. Pass null or a header dictionary (e.g., new Dictionary<string, string[]> { ["Content-Type"] = ["application/json"] }).
  • PostgreSQL: AddPostgreSqlIdempotencyStore requires NpgsqlDataSource to be registered in DI beforehand.
  • Testing: InMemoryIdempotencyStore does not provide a DI extension method; register it with services.AddSingleton<IIdempotencyStore>(new InMemoryIdempotencyStore()).
  • Importing EricksonLopez.Idempotency.Result alongside EricksonLopez.Result shadows non-generic Result; alias using ResultOutcome = EricksonLopez.Result.Result; if needed.
  • EricksonLopez.Idempotency.Oracle compiles with IsAotCompatible=true, though Oracle.ManagedDataAccess.Core uses reflection at runtime (noted in README.md:110).