Skip to content

Commit 33d9e2d

Browse files
authored
feat: 📝 Update documentation
1 parent 7f45ff4 commit 33d9e2d

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

‎documentation/fastapi-example.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ app = FastAPI()
4444
@app.post("/example", status_code=status.HTTP_204_NO_CONTENT)
4545
async def example(
4646
command: ExampleCommand,
47-
command_bus: CommandBus[ExampleReturnType] = Inject(CommandBus),
47+
command_bus: Inject[CommandBus[ExampleReturnType]],
4848
) -> None:
4949
result = await command_bus.dispatch(command)
5050
# ...

‎uv.lock‎

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

0 commit comments

Comments
 (0)