Files
dacli/tests/unit
sswandClaude c203bd2277 feat(guards): BS-54 L2 guard (select/relationForm 必填子键 ERROR)
- 红: tests/unit/bs54_guard.test.ts 5 FAIL
- 绿: checkBS54 加到 _blindspot_guards.ts (22→23 条)
  - select 字段需 (dataType=static + options) / (dataType=dictionary + dictionaryType) / (dataType=dynamic + propsUrl) 之一
  - relationForm 字段需 modelId 非空
  - 通用规则, 不含应用特定 vmodel→enCode 映射

触发场景: form create --fields 直接传 JSON (绕开 FieldBuilder.build()) 时兜底

Co-Authored-By: Claude <[email protected]>
2026-06-24 14:36:31 +08:00
..