Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add append object method so values can be imported correctly instead of all data importing as strings #46

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

drgrieve
Copy link
Contributor

Added new method AppendObject to SheetAppender.

Uses reflection to populate the payload over using CsvHelper.

Adds conversions for data formats I need, but could be expanded.

Assumes no need for customisable conversions.

Tested on a few different payloads, looks to be working as expected.

Missing documentation on the method, thought you'd rather add this in your own style.

@SteveWinward SteveWinward merged commit 6082d48 into SteveWinward:main Oct 31, 2024
1 check failed
@SteveWinward
Copy link
Owner

Thank you @drgrieve for your contribution here. Merged the PR, added documentation for the method and then released a new version so it will get published to Nuget which will be version 2.0.21.

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.

2 participants