Fix ReportableMap falling back to toString() when row 0 has a null entry
Column shape per map key was resolved only from the first data row's
value. A null entry there caused every other row's populated object to
be treated as a simple value and rendered via toString() instead of
expanding into columns. Now scans forward across rows for the first
non-null value at that key to resolve shape.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent d6e80f3 commit 34f89fe6e6cd3fb8098463fdabeda1f8c635d255
@Alexander Ljunggren Alexander Ljunggren authored on 12 Jul
Showing 2 changed files
View
src/main/java/io/ljunggren/report/generator/Generator.java
View
src/test/java/io/ljunggren/report/generator/csv/CSVGeneratorReportableMapComplexValueTest.java