mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
203c7dee7e
trek/transactions-through-unit-of-work reads the receiver's type and reports transactional() on anything but a UnitOfWork (an untyped receiver included), and begin() or transaction() on an EntityManager, a connection or Kysely. src/db/engine/ and the two boot-time schema files are left out. It runs with the rest of the server's ESLint, so lint:warnings fails on a new one, and its message names UnitOfWork, writeTransaction and the rule in server/CLAUDE.md.