Skip to content

Commit af2c24d

Browse files
Retrieve IHttpStitchingRequestInterceptor from combined services to allow override from application services (#5500)
1 parent 3b40be3 commit af2c24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HotChocolate/Stitching/src/Stitching/DependencyInjection/HotChocolateStitchingRequestExecutorExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public static IRequestExecutorBuilder AddRemoteSchema(
192192
sp => new HttpRequestClient(
193193
sp.GetCombinedServices().GetRequiredService<IHttpClientFactory>(),
194194
sp.GetRequiredService<IErrorHandler>(),
195-
sp.GetRequiredService<IHttpStitchingRequestInterceptor>()));
195+
sp.GetCombinedServices().GetRequiredService<IHttpStitchingRequestInterceptor>()));
196196

197197
services.TryAddSingleton<
198198
IHttpStitchingRequestInterceptor,

0 commit comments

Comments
 (0)