Look into whether it makes sense to have Dependency Injection supported in a path based way: https://sanic.dev/en/plugins/sanic-ext/injection.html