Analisar remodelagem do `root` e do uso das dependencia
The following discussion from !28 (merged) should be addressed:
-
@vince started a discussion: (+1 comment)
sera que nao tem outro jeito, sem precisar ter que passar o objeto pelo endpoint/depends?
https://github.com/tiangolo/fastapi/discussions/8054
Talvez algo do tipo no root.py: https://github.com/madkote/fastapi-plugins/blob/master/fastapi_plugins/control.py