Skip to content

Let AdHocReporting seed its demo reports again; fix "Empolyee" and the footer year - #5

Merged
melnalex merged 2 commits into
devfrom
fix/seed-report-description
Nov 24, 2026
Merged

melnalex merged 2 commits into
devfrom
fix/seed-report-description

Conversation

@melnalex

Copy link
Copy Markdown
Contributor
  • AdHocReporting seeds its demo reports again. The server project has nullable reference types on, so the non-nullable Report.Description became a NOT NULL column. The seed files carry no description, so the first start failed with "NOT NULL constraint failed: Reports.Description" and the app opened with "No reports are defined". Description is now nullable. Checked: a fresh database seeds all five reports.
  • Spells the demo query "Employee of the year" (was "Empolyee") in both samples.
  • The AdHocReporting footer shows the current year through the currentYear field the component already had, instead of a hard-coded 2024.

https://claude.ai/code/session_01SKU9iUfA3orhhgnd73DBWd

The Angular server project has nullable reference types on, so the
non-nullable Report.Description became a NOT NULL column. The seed
files carry no description, so the first start failed with
"NOT NULL constraint failed: Reports.Description" and the app opened
with "No reports are defined". Make Description nullable.

Claude-Session: https://claude.ai/code/session_01SKU9iUfA3orhhgnd73DBWd
Spell the demo query "Employee of the year" in both samples, and show
the current year in the AdHocReporting footer through the currentYear
field the component already had, instead of a hard-coded 2024.

Claude-Session: https://claude.ai/code/session_01SKU9iUfA3orhhgnd73DBWd
@melnalex
melnalex merged commit 8581a14 into dev Nov 24, 2026
1 check passed
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.

1 participant