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
Different applications that are capable of importing CSV files have different ways of handling some data types. Indeed, that it why CSVEncoderConfiguration exists.
But each app generally wants the same format all the time, and developers shouldn’t need to have to remember (or investigate) which date formats are needed for the most popular apps.
We could provide static instances of CSVEncoderConfiguration that have the necessary encoding strategies predefined, for example:
CSVEncoderConfiguration.excel // All the necessary config to ensure CSV files are readable by Microsoft Excel
CSVEncoderConfiguration.numbers // All the necessary config to ensure CSV files are readable by Apple Numbers
This would make the definitions more expressive while hiding the implementation detail:
scottmatthewman
changed the title
Suggestion: Create static configuration objects with the relevant structure for popular CSV users
Create static configuration objects with the relevant structure for popular CSV importers
Jan 3, 2024
Different applications that are capable of importing CSV files have different ways of handling some data types. Indeed, that it why
CSVEncoderConfiguration
exists.But each app generally wants the same format all the time, and developers shouldn’t need to have to remember (or investigate) which date formats are needed for the most popular apps.
We could provide static instances of
CSVEncoderConfiguration
that have the necessary encoding strategies predefined, for example:This would make the definitions more expressive while hiding the implementation detail:
The text was updated successfully, but these errors were encountered: