Skip to content

docs: add gRPC integration usage page#304

Merged
lesnik512 merged 1 commit into
mainfrom
docs/grpc-integration
Jul 11, 2026
Merged

docs: add gRPC integration usage page#304
lesnik512 merged 1 commit into
mainfrom
docs/grpc-integration

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Adds the usage page for modern-di-grpc (published to PyPI as modern-di-grpc 2.0.0) and its two mkdocs.yml nav entries.

The page documents:

  • DIInterceptor (sync) / DIAioInterceptor (async) grpc.ServerInterceptors, passed to grpc.server/grpc.aio.server.
  • One Scope.REQUEST child per RPC across all four RPC types (unary/streaming), closed after the stream/error/cancellation.
  • @inject's sync / async / async-generator shapes; fetch_di_container(); auto-registered ServicerContext injection at REQUEST; user-owned root lifecycle (gRPC has no server hook).

just docs-build (strict) passes.

🤖 Generated with Claude Code

Usage page for modern-di-grpc (server-side DI via grpc ServerInterceptor) plus
its mkdocs nav entries. Covers DIInterceptor/DIAioInterceptor, per-RPC REQUEST
scope across all four RPC types, @Inject's sync/async/async-gen shapes,
auto-registered ServicerContext injection, and user-owned root lifecycle.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit 01b7793 into main Jul 11, 2026
7 checks passed
@lesnik512 lesnik512 deleted the docs/grpc-integration branch July 11, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant