Skip to content

Commit e9319b3

Browse files
author
Temo Nikolaishvili
committed
alligned DateOnly types
1 parent d7d7611 commit e9319b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AltaSoft.DomainPrimitives.Generator/Helpers/MethodGeneratorHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ void AddOldMapping(bool isNullable)
176176
.Append("Type = ").Append(Quote(typeName)).AppendLine(",");
177177

178178
if (!string.IsNullOrEmpty(format))
179-
builder.Append("Format = ").Append(Quote(data.SerializationFormat ?? format)).AppendLine(",");
179+
builder.Append("Format = ").Append(QuoteAndEscape(data.SerializationFormat ?? format)).AppendLine(",");
180180

181181
if (isNullable)
182182
builder.AppendLine("Nullable = true,");

0 commit comments

Comments
 (0)