build1 publisher
FastAPI middleware puts a third-party lookup in front of your liveness probe
Starlette resolves the route after the middleware stack has already run, so a geolocation middleware fires on /health and /docs as well. A per-route dependency scopes the same lookup to the handlers that actually need it.
Publishers:dev.to
Reality
- Evidence58
- Adoption
- Insufficient
- Hype gap+18
- Incentives30
- Confidence58