ErrorsEntities, stores and migrations · rule
data.lifecycle_purge_visible
Lifecycle purges records but hides none.
Area 5, Entities, stores and migrations; not declinable; the next step is usually the agent's.
Purge deletes records once they have been hidden for a while, so the lifecycle says which records are hidden:
entity Todo { id: Uuid deleted_at: Instant? lifecycle: { transitions: { delete: { set: { deleted_at: clock.now } } } purge: { after: 30d since: deleted_at } }}
error Todo's lifecycle purges records but hides none
--> main.jadpo:13:9
|13 | purge: { | ^^^^^ no `visible:` above
- reason
- Purge permanently deletes records once they have been hidden for a while, so the lifecycle must say which records are hidden, with
visible:. - next
- Add
visible: <condition>to the lifecycle (agent) - rule
- data.
lifecycle_ purge_ visible - help
- https://jadpo.
dev/docs/errors/data. lifecycle_ purge_ visible
Markdown for agents: /docs/errors/data.lifecycle_purge_visible.md.Built from Jadpo main at aee2e8f.