document repository lookups

This commit is contained in:
Yisroel Baum 2026-05-25 08:14:16 +03:00
parent b44830fa53
commit 3bfcdfd0cc
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 32 additions and 10 deletions

View file

@ -111,6 +111,8 @@ mechanical, not aspirational - a "yes" to all is required.
(PHP or TS).
- [ ] Find/lookup repository methods return new instances, not stored
references.
- [ ] Backend repository methods that find by a foreign key accept the
related entity, not a raw id.
- [ ] No em dashes (use hyphens).
- [ ] Variable names are explicit (no `$t`, `n`, `res`, `req`, `e`, etc.).
- [ ] No `any` in TypeScript - use concrete types or `unknown` with a