Code reuse: - formatRecordsForWeb() consolidates 4-call formatting sequence (was duplicated in handleWebSearchRead + handleWebRead) - ToRecordID() public alias for cross-package ID extraction Performance: - M2O NameGet now batched: collect all FK IDs per field, single NameGet per comodel instead of per-record (N+1 → 1) Quality: - normalizeNullFields: 30-line switch (all returning false) → 5 lines - domain.go: remove unused _ = subParams assignment - Net -14 lines Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 KiB
20 KiB