Skip to content

Conversation

@stefanedwards
Copy link
Contributor

Fixes #155

Added support for specifying culture info for csv writer.

Added support for specifying culture info for csv reader and writer.
- Added `IValidatableObject` to `CsvWriterSettings`.
- Updated Culture to accept both `Invariant`/`Current` and `InvariantCulture`/`CurrentCulture`.
- Specified only the latter in README.
- Added unit testing for `CsvWriterSettings`.
Copy link
Collaborator

@philnach philnach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you for adding unit tests as well. @bowencode can you take a look at this PR?

bowencode
bowencode previously approved these changes Feb 10, 2025
@bowencode bowencode merged commit 97f58b2 into AzureCosmosDB:main Feb 10, 2025
2 checks passed
@stefanedwards stefanedwards deleted the fix-csv-culture branch February 11, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSV extension strictly uses local culture, not InvariantCulture

3 participants