Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 830 Bytes

File metadata and controls

17 lines (13 loc) · 830 Bytes
@objectstack/cli patch

feat(cli): build lint warns on wrong flow-value interpolation syntax (double-brace / bare $ref) (#1315)

Extends the flow authoring anti-pattern lint with two advisory WARNINGs for the interpolation-syntax mistakes AI/human authors carry over from other dialects:

  • double-brace {{ai_reply}} in a flow node value — flow node values use SINGLE braces ({var}); {{ }} is the formula/template-field dialect, never flow node values (verified: no flow node executor uses {{ }}).
  • bare $ref.field (e.g. $source.id) written as a plain value — it's not interpolated; the author meant {source.id} (or {$User.Id}).

Precise: single-brace interpolation, braced {$User.Id}, currency literals ($5.00), and CEL condition fields are NOT flagged; never fails the build.