Workstream: Integration · Part of #89
Context
Rule annotations need first-class DSL grammar + parser support, alongside the existing @hook/@access/field annotations (crates/schema-forge-dsl, crates/schema-forge-core/src/types/annotation.rs).
Scope
- Grammar + parser for
@require, @compute, @default(expr: ...) (and any rules-file form).
- Parse errors with
file:line diagnostics.
- Round-trip through schema (de)serialization.
Acceptance
- Rule annotations parse, with clear diagnostics on malformed expressions.
Dependencies: Co-requisite for #92/#93/#94; suggested order: early, alongside #91. Final annotation shapes are soft-informed by #91. Soft.
Workstream: Integration · Part of #89
Context
Rule annotations need first-class DSL grammar + parser support, alongside the existing
@hook/@access/field annotations (crates/schema-forge-dsl,crates/schema-forge-core/src/types/annotation.rs).Scope
@require,@compute,@default(expr: ...)(and any rules-file form).file:linediagnostics.Acceptance
Dependencies: Co-requisite for #92/#93/#94; suggested order: early, alongside #91. Final annotation shapes are soft-informed by #91. Soft.