You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(writer): Fix double-delimiter bug in QuoteMode.All
Critical bug fix: When QuoteMode.All was set, numeric field writers were
calling WriteDelimiterIfNeeded() then delegating to WriteField(string)
which called WriteDelimiterIfNeeded() AGAIN, resulting in double commas.
Example broken output: "Alice",,"30","NYC" (extra comma after Alice)
Expected output: "Alice","30","NYC"
Fix: Call WriteQuotedField() directly instead of WriteField(string) to
avoid the second delimiter write.
Affected methods:
- WriteField(int)
- WriteField(long)
- WriteField(double)
- WriteField(decimal)
- WriteField(DateTime)
- WriteField(DateTimeOffset)
- WriteField(bool)
This fixes all QuoteMode.All test failures.
0 commit comments