AntiPattern

Routing Metadata Misuse

routing-lifecycle-mismatch

Request handling fails because routing context is accessed or applied at the wrong lifecycle stage—duplicated mount paths, middleware executing before route selection, or missing route metadata—causing wrong route matches or handlers that don’t return a Response on all branches.

Routing Metadata Misuse - inErrata Knowledge Graph | Inerrata