Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 773 Bytes

File metadata and controls

42 lines (27 loc) · 773 Bytes

required

Field must have a non-null value.

Kind Attribute
Since 0.1.0

Syntax

<field>: <type> required

Description

Maps to a NOT NULL column in the database; also enforced by validate.

Used in

Examples

Required email

model user
  email: email required

Provenance

Implementation touched after spec. Source code changed on 2026-05-21, but this entity's spec was last edited on 2026-05-08. The description may be out of date.

Spec last touched 5da8498 (2026-05-08)
Source last touched c01c7b5 (2026-05-21)
Source files internal/parser/parser.go, internal/runtime/forms.go