ErrorsValues 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
omitnames a field the lines above bring in, so a typo or a field removed since is caught; none of them brings innotes.- next
- Remove
Todo.notesfrom the list (agent) - rule
- type.
absent_ field - help
- https://jadpo.
dev/docs/errors/type. absent_ field
Markdown for agents: /docs/errors/type.absent_field.md.Built from Jadpo main at aee2e8f.