ErrorsEntities, stores and migrations · rule
data.lifecycle_unknown_field
Lifecycle names a field the entity doesn't have.
Area 5, Entities, stores and migrations; not declinable; the next step is usually the agent's.
Every field a lifecycle names is one of the record's own:
entity Todo { id: Uuid deleted_at: Instant? lifecycle: { visible: deletd_at == none }}
error Todo has no field deletd_at
--> main.jadpo:6:18
|6 | visible: deletd_at == none | ^^^^^^^^^ not declared
- reason
- A lifecycle names the fields of the record it is written in, and
Todo's fields areidanddeleted_at. Did you meandeleted_at? - next
- Use
deleted_atinstead ofdeletd_at(agent) - rule
- data.
lifecycle_ unknown_ field - help
- https://jadpo.
dev/docs/errors/data. lifecycle_ unknown_ field
Markdown for agents: /docs/errors/data.lifecycle_unknown_field.md.Built from Jadpo main at aee2e8f.