Values and types · rule
type.constraint_base
Constraint does not fit the type's base.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type Nickname = Text { min: 1}
error: `min` doesn't apply to a `Text` type --> main.jadpo:2:5 |2 | min: 1 | ^^^ doesn't fit the base reason: `min` constrains `Int`, `Decimal`, `Duration`, `Money`, `Percentage` and quantity types. next: Remove `min`, or use a constraint that fits (agent) rule: type.constraint_base help: https://jadpo.dev/docs/errors/type.constraint_basecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.constraint_base.md.Built from Jadpo main at a707efb.