Skip to content

Commit 00ceab1

Browse files
author
remimd
committed
fix: 📝 Small error in the documentation
1 parent 8add998 commit 00ceab1

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

‎documentation/writing-application-layer.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ To add a middleware, you need to override the bus recipe.
177177

178178
```python
179179
from cq import CommandBus, new_command_bus
180-
from injection import singleton
180+
from injection import injectable
181181

182-
@singleton
182+
@injectable
183183
def override_command_bus_recipe() -> CommandBus:
184184
bus = new_command_bus()
185185
bus.add_middlewares(log_middleware, transaction_middleware)

‎uv.lock‎

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)