• 10.2.1-rc1 a05ebad7fc

    gRPC generator bug fixes
    All checks were successful
    Publish NuGets / build (release) Successful in 28s
    Pre-Release

    mathias released this 2026-04-20 19:53:45 -04:00 | 0 commits to staging since this release

    Pre-release for validation against downstream consumers (api, accounting-api, report-api, route-api) before promoting to stable 10.2.1.

    Fixes — Svrnty.CQRS.Grpc.Generators

    • CS8601 in proto→command list mappings. Generator was emitting request.X?.ToList() for repeated proto fields. Proto3 repeated fields are non-null RepeatedField<T>, so the ?. produced List<T>? and triggered CS8601 when
      assigned to a non-nullable command property. Dropped the ?. in the 4 affected emission sites (kept ?.Items for value-type collection wrapper messages where the wrapper itself can be null). Consumers can drop
      <NoWarn>$(NoWarn);CS8601</NoWarn> after upgrading.

    • Locale-dependent decimal.Parse in generated mappers. Generated proto→domain mappers parsed decimals without IFormatProvider, throwing FormatException on systems with comma decimal separator (e.g., French locale) when receiving
      values like "0.95". All 4 sites now pass System.Globalization.CultureInfo.InvariantCulture.

    No API changes. No breaking changes. Drop-in replacement for 10.2.0.

    Downloads