Skip to content

Document invoke_service extension hook - #6

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
document-invoke-service-hook
Aug 13, 2026
Merged

Document invoke_service extension hook#6
samuel-williams-shopify merged 1 commit into
mainfrom
document-invoke-service-hook

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Document Async::GRPC::Dispatcher#invoke_service as the supported protected extension point for wrapping service execution.

The documentation covers:

  • middleware and instrumentation use cases
  • the requirement to call super
  • stream cleanup, trailer, and status responsibilities
  • the hook boundary for routing/setup errors and deadline expiry
  • an example override

Validation:

  • bundle exec rubocop lib/async/grpc/dispatcher.rb
  • bundle exec bake decode:index:documentation lib/async/grpc/dispatcher.rb
  • bundle exec bake test

@samuel-williams-shopify
samuel-williams-shopify merged commit b3fc646 into main Aug 13, 2026
34 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the document-invoke-service-hook branch August 13, 2026 11:24
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