Which is exactly why using a middleware is an option and therefore a decision the implementor makes.
Many people appreciate the middleware approach as it provides coverage for the API surface with minimal investment, so a great way to get started.
But there is no free lunch