Commit Graph
1 Commits
Author SHA1 Message Date
clawbot a86bf9cb1a Keep each model's parent out of its JSON (closes #177)
check / check (push) Successful in 3m14s
Every reference from a model to the record it belongs to is now
json:"-", so the webhook and target models (and the other parent and
child pairs in internal/database) can no longer marshal each other in
a loop. GORM ignores json tags, so preloading still fills these
references; a new test preloads a webhook with its targets and
entrypoints and a target with its webhook, checks the references are
filled, and checks the marshalled JSON leaves them out.

Model: opus-5-5
2026-10-02 11:00:16 +00:00