Skip to content

Integration: DSL grammar + parser support for rule annotations #103

Description

@rrrodzilla

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions