Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Data

Data · rule

data.cleared_required_reference

A reference that can never be none is cleared on delete.

Area 5, Data; not declinable; the next step is usually the agent's.

example
entity Project {    id: Uuid}entity Todo {    id: Uuid    project_id: Project.id {        on_delete: OnDelete.cleared    }}
text
error: `Todo.project_id` can't be cleared --> main.jadpo:8:20  |8 |         on_delete: OnDelete.cleared  |                    ^^^^^^^^^^^^^^^^ the field can't be `none`  reason: `OnDelete.cleared` sets the reference to `none` when the `Project` is deleted, which only an optional reference (`Project.id?`) can hold.  next: Make it `Project.id?`, or use `OnDelete.restricted` or `OnDelete.cascade` (agent)  rule: data.cleared_required_reference  help: https://jadpo.dev/docs/errors/data.cleared_required_referencecheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/data.cleared_required_reference.md.Built from Jadpo main at a707efb.