Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsEntities, stores and migrations · rule

data.on_delete_not_reference

Field that is not a reference sets on_delete.

Area 5, Entities, stores and migrations; not declinable; the next step is usually the agent's.

example
entity Note {    id: Uuid    title: Text {        on_delete: OnDelete.cascade    }}
jadpo checkcheck failed: 1 error, 1 file

error Note.title isn't a reference

--> main.jadpo:4:20

  |4 |         on_delete: OnDelete.cascade  |                    ^^^^^^^^^^^^^^^^ nothing to delete
reason
on_delete: says what deleting a referenced record does, so it belongs only on a field typed X.id.
next
Remove on_delete: (agent)
rule
data.on_delete_not_reference
help
https://jadpo.dev/docs/errors/data.on_delete_not_reference

Markdown for agents: /docs/errors/data.on_delete_not_reference.md.Built from Jadpo main at aee2e8f.