We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02610a8 commit b5b617bCopy full SHA for b5b617b
README.md
@@ -412,8 +412,8 @@ The application can be configured in a similar manner:
412
413
```python
414
import litestar
415
-from litestar.config.app import AppConfig
416
+from microbootstrap.config.litestar import LitestarConfig
417
from microbootstrap.bootstrappers.litestar import LitestarBootstrapper
418
from microbootstrap import SentryConfig, OpentelemetryConfig
419
@@ -424,7 +424,7 @@ async def my_handler() -> str:
424
425
application: litestar.Litestar = (
426
LitestarBootstrapper(settings)
427
- .configure_application(AppConfig(route_handlers=[my_handler]))
+ .configure_application(LitestarConfig(route_handlers=[my_handler]))
428
.bootstrap()
429
)
430
```
0 commit comments