Values and types · rule
type.absent_field
Omitted or optional field is not present.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type TodoView = Output { pick: [Todo.id, Todo.title] omit: [Todo.notes]}
error: `TodoView` has no field `notes` at this point --> main.jadpo:3:12 |3 | omit: [Todo.notes] | ^^^^^^^^^^ not present reason: `omit` names a field the lines above bring in, so a typo or a field removed since is caught; none of them brings in `notes`. next: Remove `Todo.notes` from the list (agent) rule: type.absent_field help: https://jadpo.dev/docs/errors/type.absent_fieldcheck failed: 1 error, 2 files
Markdown for agents: /docs/errors/type.absent_field.md.Built from Jadpo main at a707efb.