docs(adr) Record that a reference to a deleted user is absent #58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-reason-deleted-user"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docs for recipe-backend#35 (deleting a user leaves shopping list items without any reason).
docs/adr/2026-10-25-deleted-user-references.md: a field that refers to another user is optional, and absent once that account is deleted; the record stays. The backend uses a nullable FK withON DELETE SET NULL.docs/api-conventions.md: the rule as a paragraph under "Other users are exposed asCompactUserDto", so new contracts apply it without discussion andreview-contractchecks it.docs/adr/2026-09-27-shopping-list-contract.md: a second, partialSuperseded by:line for the always-presentaddedByand the "tickedAt/tickedByboth present while ticked" statement.The contract change is in the draft contract PR #57 (
fix-reason-deleted-user-contract). This PR can be merged on its own; an ADR onmainmay describe a contract that is not onmainyet.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.