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.entity_in_field

Field holds an entity instead of a reference to one.

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

example
entity User {    id: Uuid}entity Todo {    id: Uuid    keeper: User}
jadpo checkcheck failed: 1 error, 1 file

error Todo.keeper holds a whole User

--> main.jadpo:7:13

  |7 |     keeper: User  |             ^^^^ a `User` record
reason
An entity value is a snapshot, never stored inside another record; a field refers to a record by its identity, User.id, which the database keeps as a foreign key.
next
Store User.id instead (agent)
rule
data.entity_in_field
help
https://jadpo.dev/docs/errors/data.entity_in_field

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