ErrorsEntities, stores and migrations · rule
data.identity_missing
Entity has no id field.
Area 5, Entities, stores and migrations; not declinable; the next step is usually the agent's.
entity Note { body: Text}
error Note has no id field
--> main.jadpo:1:8
|1 | entity Note { | ^^^^ no `id`
- reason
- Every entity's identity is one field,
id, based onUuid: generated when a record is created and never supplied by callers, so other code can refer to it asEntity.id. - next
- Add
id: Uuidas the entity's first field (agent) - rule
- data.
identity_ missing - help
- https://jadpo.
dev/docs/errors/data. identity_ missing
Markdown for agents: /docs/errors/data.identity_missing.md.Built from Jadpo main at aee2e8f.