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

Replace CSV printer with more generic approach. #131

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

Gerrit91
Copy link
Contributor

@Gerrit91 Gerrit91 commented Mar 5, 2024

The current CSV printer does not allow printing arbritrary data structures, which is different from the other printers.

Main problem is that it is non-trivial to map arbitrary data structures to CSV format, especially when it comes to nested structures with slices (which would produce very big tables with awkward column names).

So, the idea is now to solve the problem similar to the table printer, which requires the user to map the data structure to a two-dimensional matrix.

@Gerrit91 Gerrit91 requested a review from a team as a code owner March 5, 2024 15:25
@Gerrit91 Gerrit91 marked this pull request as draft March 5, 2024 15:25
@Gerrit91 Gerrit91 marked this pull request as ready for review March 11, 2024 12:38
@Gerrit91 Gerrit91 merged commit b308737 into master Mar 11, 2024
2 checks passed
@Gerrit91 Gerrit91 deleted the csv-printer branch March 11, 2024 12:39
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