Data · rule
data.lifecycle_purge_since
Purge's since: isn't a time field of the record.
Area 5, Data; not declinable; the next step is usually the agent's.
since: names the time field purge counts from:
type TodoTitle = Text { max_length: 200}entity Todo { id: Uuid title: TodoTitle deleted_at: Instant? lifecycle: { visible: deleted_at == none purge: { after: 30d since: title } }}
error: `title` isn't a time --> main.jadpo:14:20 |14 | since: title | ^^^^^ a `TodoTitle` reason: `since:` names the `Instant` field purge counts from: a record goes once it has been hidden for `after:` since that time. next: Name an `Instant` field of the record (agent) rule: data.lifecycle_purge_since help: https://jadpo.dev/docs/errors/data.lifecycle_purge_sincecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/data.lifecycle_purge_since.md.Built from Jadpo main at a707efb.