You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
content/docs/automation/hook-bodies.mdx 的 "Not statically checked: the write set" 一节声称写面完全没有静态检查:
Not checked — write side. Nothing validates which fields your body writes. … no lint can verify they exist. This is an accepted gap with no planned closure
"Check your write targets by hand." —— 已经有 lint 在报了;
"Prefer a flow update_record node … so they get the static checking hook bodies can't." —— 这条建议本身仍然对(flow 是 error,hook 是 advisory),但理由错了:hook body 现在有静态检查,差别是严重级别和覆盖面(字面模式 vs 结构化 fields),不是有无。
Activity
docs(hook-bodies): the write set is statically checked now — rewrite …
Merge origin/main; document the ctx.record write in the section #4351 …
merge: main (#4344 action-body write lint, #4351/#4355 hook-bodies docs)
feat(lint): action body 里落不了地的 ctx.record 写在作者时告警 (#4345) (#4362)