HTTP · rule
route.item_duplicate
Route item is given twice.
Area 7, HTTP; not declinable; the next step is usually the agent's.
Each item is given once:
type Memo = Text { max_length: 200}type MemoId = Uuid {}type AddMemo = Input { text: Memo}type MemoView = Output { text: Memo}action add_memo(input: AddMemo) -> MemoView { return MemoView { text: input.text }}routes Memos { prefix: /memos POST / { input: AddMemo output: MemoView run: add_memo(input) run: add_memo(input) }}
error: `run:` is given twice --> main.jadpo:28:9 |27 | run: add_memo(input) | --- first given here28 | run: add_memo(input) | ^^^ given again reason: A route has one `run:`, so there is never a question of which counts. next: Remove one `run:` (agent) rule: route.item_duplicate help: https://jadpo.dev/docs/errors/route.item_duplicatecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/route.item_duplicate.md.Built from Jadpo main at a707efb.