Templates like report_3.frx use FastReport BusinessObjectDataSource with nested datasources (e.g. abnormally_high_water_levels_report contains abnormally_high). FastReport discovers the nested list by reflecting on the C# type — register a flat DataTable and the inner band stays empty, which is why customers saw 26-page PDFs with the master headers but no detail rows. Pull the report DTOs into the sidecar via cross-project Compile Include from pwa_api/Modules/Report/Models, take a typeName field in the request, deserialize JSON into the same concrete type, and call RegisterData with the typed list — so reflection sees the same shape it always did. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB