Generated code was using locale-dependent parsing for decimal values.
On systems with comma decimal separator (e.g., French locale), parsing
"0.95" would throw FormatException because the system expected "0,95".
Switched all 4 decimal.Parse() call sites in the generated proto→domain
mappers to pass System.Globalization.CultureInfo.InvariantCulture for
consistent behavior across locales.
Inspired by JP's commit
|
||
|---|---|---|
| .. | ||
| build | ||
| Helpers | ||
| Models | ||
| GenerateProtoFileTask.cs | ||
| GrpcGenerator.cs | ||
| ProtoFileGenerator.cs | ||
| ProtoTypeMapper.cs | ||
| Svrnty.CQRS.Grpc.Generators.csproj | ||