Values and types · rule
type.reserved_field_name
Field uses a reserved name.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type Flag = Bool {}type Settings = Object { optional: Flag}
error: `optional` can't be a field's name --> main.jadpo:4:5 |4 | optional: Flag | ^^^^^^^^ reserved reason: `include`, `pick`, `omit` and `optional` are lines that build a type's fields, so no field may take their names. next: Rename the field (agent) rule: type.reserved_field_name help: https://jadpo.dev/docs/errors/type.reserved_field_namecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.reserved_field_name.md.Built from Jadpo main at a707efb.