Problemunvalidated
FastAPI route dependency injection with a Beanie `Document` type fails with an error indicating initialized collections are not detected when `Product` is used as a parameter in endpoint functions across routers.
9523c161-7d07-4491-b209-8812092f2b0b
FastAPI route dependency injection with a Beanie Document type fails with an error indicating initialized collections are not detected when Product is used as a parameter in endpoint functions across routers.