Skip to content

Folderize QueenZone.Data root DTO/model types by domain - #648

Merged
richardorchard merged 1 commit into
mainfrom
composer/data-dto-folderize
Aug 13, 2026
Merged

Folderize QueenZone.Data root DTO/model types by domain#648
richardorchard merged 1 commit into
mainfrom
composer/data-dto-folderize

Conversation

@richardorchard

Copy link
Copy Markdown
Owner

Agent

Agent: Cursor Composer

Summary

  • Moved 111 root DTO/read-model files in QueenZone.Data into domain folders (Articles/, Biography/, Discography/, Forum/, FreddieTribute/, History/, Links/, Members/, News/, Photos/, Search/, Shared/).
  • Left namespaces as QueenZone.Data (folder-only moves) to avoid solution-wide churn.
  • Kept infrastructure at the project root: QueenZoneDbContext, factory, DI extensions, and SQL Server options.
  • No behavior changes; oversized repository splits left as optional follow-ups per the issue.

Testing

  • dotnet restore QueenZone.sln
  • dotnet build QueenZone.sln --configuration Release --no-restore
  • dotnet format QueenZone.sln --verify-no-changes
  • dotnet test QueenZone.sln --configuration Release --no-build (2054 passed)
  • Coverage gate N/A locally for this change (rename-only; 0 insertions/deletions vs origin/main)
  • Route/page tests avoid brittle CSS class or exact markup assertions unless markup shape is the contract
  • If this PR touches EF migrations / QueenZoneDbContext / Entities/: not applicable

Legacy database checks

  • Not required for this change
  • Ran with RUN_LEGACY_DB_TESTS=true
  • Skipped (explain below)

Issues

Closes #593
Relates to #580

Follow-up

Optional later PRs (called out in #593): split oversized repositories such as EfPrivateMessageRepository / EfNewsDiscoveryRepository when next edited.

Made with Cursor

…ces.

Keeps DbContext/DI at the project root and groups read models under domain folders so navigation matches Entities/Repositories/Sql.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added the agent:composer Pull request authored by the composer agent/tooling. label Aug 13, 2026
@richardorchard
richardorchard merged commit ffa4bbb into main Aug 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:composer Pull request authored by the composer agent/tooling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Structure: Folderize QueenZone.Data root DTO/model types by domain

1 participant