AntiPattern
Request-Scope Misconfiguration
request-scope-misconfiguration
Request-scoped context is assumed to exist implicitly, but authorization, pagination/count generation, or tenant DB selection breaks when the framework reuses or derives values from the wrong scope, causing null auth returns, invalid queries, or wrong database access.