From 7b9997537ede9a6af4e3e7b7f4de0668fe232cdf Mon Sep 17 00:00:00 2001 From: Ankur Shrivastava Date: Fri, 24 Apr 2026 01:00:42 +0800 Subject: [PATCH 1/2] docs: update executor note to reflect always-included interceptor --- integrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations.md b/integrations.md index 6a6d6b5..0d30081 100644 --- a/integrations.md +++ b/integrations.md @@ -332,7 +332,7 @@ interceptors.DefaultClientInterceptor( `WithExecutor` can be passed directly to any gRPC call to use a specific executor for that call. This works even without calling `SetDefaultExecutor` — you don't need a global executor to use per-call executors. This is useful for per-service circuit breaker tuning. {: .note .note-info } -Per-call `WithExecutor` requires `ExecutorClientInterceptor` in the interceptor chain. This is included automatically when using `DefaultClientInterceptors`. If you build your own interceptor chain, make sure to include it. +`DefaultClientInterceptors` always includes `ExecutorClientInterceptor`, so per-call `WithExecutor` works out of the box. If you build your own interceptor chain, make sure to include `ExecutorClientInterceptor`. ```go // Create a sensitive circuit breaker for the payment service From 4d78aa1921ce09e1dd0d75d8d4eb0038ea1b5ab5 Mon Sep 17 00:00:00 2001 From: Ankur Shrivastava Date: Fri, 24 Apr 2026 09:23:23 +0800 Subject: [PATCH 2/2] fix: use singular DefaultClientInterceptor to match examples --- integrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations.md b/integrations.md index 0d30081..aff2bb4 100644 --- a/integrations.md +++ b/integrations.md @@ -332,7 +332,7 @@ interceptors.DefaultClientInterceptor( `WithExecutor` can be passed directly to any gRPC call to use a specific executor for that call. This works even without calling `SetDefaultExecutor` — you don't need a global executor to use per-call executors. This is useful for per-service circuit breaker tuning. {: .note .note-info } -`DefaultClientInterceptors` always includes `ExecutorClientInterceptor`, so per-call `WithExecutor` works out of the box. If you build your own interceptor chain, make sure to include `ExecutorClientInterceptor`. +`DefaultClientInterceptor(...)` includes `ExecutorClientInterceptor`, so per-call `WithExecutor` works out of the box. If you build your own interceptor chain, make sure to include `ExecutorClientInterceptor`. ```go // Create a sensitive circuit breaker for the payment service