ErrorsProject layout and modules · rule
layout.route_prefix_mismatch
Route group prefix does not match its file name.
Area 1, Project layout and modules; not declinable; the next step is usually the agent's.
routes Todos { prefix: /tasks}
error Prefix /tasks doesn't match todos.jadpo
--> domains/planning/routes/todos.jadpo:2:13
|2 | prefix: /tasks | ^^^^^^ gives `tasks.jadpo`
- reason
- A route group's file is named after its prefix's fixed segments joined with
_, so a URL leads to one file:/taskslives intasks.jadpo. - next
- Change the prefix to match
todos.jadpo, or rename the filetasks.jadpoand the groupTasks(agent) - rule
- layout.
route_ prefix_ mismatch - help
- https://jadpo.
dev/docs/errors/layout. route_ prefix_ mismatch
Markdown for agents: /docs/errors/layout.route_prefix_mismatch.md.Built from Jadpo main at aee2e8f.