Litestar Dependency Injection

Apply Litestar dependency injection with Provide, Dependency markers, layered scopes, overrides, generator-based cleanup, per-request caching, and nested providers. Use when wiring services, settings, database sessions, request-derived resources, or test doubles into Litestar handlers, controllers, routers, and apps. Do not use when plain local function parameters or a small helper are sufficient.

alti3 Updated 7 repo stars

File contents

alti3/litestar-skills commit c53ae9f3e8

Frequently asked questions

npx get-skill add alti3/litestar-dependency-injection