AntiPattern
Middleware And Endpoint Miswiring
middleware-endpoint-miswiring
Request handling breaks because routing, endpoint base paths, or middleware registration order are misconfigured—cookies and headers are read only once or never, context propagation fails, and management/Next endpoints aren’t registered.