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: Reads and writes

Reads and writes · rule

query.other_domain

Query reads another domain's entity.

Area 6, Reads and writes; not declinable; the next step is usually the human's.

example
use catalogue/entities { Book }/// Every copy.query shelf() -> List<Book> {    from: Book    order: [Book.id asc]    limit: 20}
text
error: `shelf` reads `Book`, an entity of domain `catalogue` --> domains/lending/queries/shelf.jadpo:5:11  |5 |     from: Book  |           ^^^^ domain `catalogue`  reason: A query reads its own domain's entities only; another domain's data comes from that domain's public queries, so `catalogue` decides what it shares.  next: Call a public query of `catalogue`, or move `shelf` into `catalogue` (human)  rule: query.other_domain  help: https://jadpo.dev/docs/errors/query.other_domaincheck failed: 1 error, 4 files

Markdown for agents: /docs/errors/query.other_domain.md.Built from Jadpo main at a707efb.