Skip to content

Add a migration guide from FastAPI Depends #74

Description

@maldoinc

Docs should cover general tips on how to migrate, replacing fastapi depends with wireup for both functions and class-based dependencies.

@dataclass
class ServiceA:
  service_b: Annotated[ServiceB, Depends(ServiceB)]
  # other dependencies using Depends(...)

Then invoked from fastapi: service_a: Annotated[ServiceA, Depends(ServiceA)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationintegrationIssues relating to interactions with other frameworks

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions