From 5d80e0c73609bb1a4eaac090bf93b6ab13118efa Mon Sep 17 00:00:00 2001 From: Daniel Gut Date: Thu, 9 Jan 2020 21:10:16 +0100 Subject: [PATCH] fix(DI): documenthashprovider fix for V10 --- .../Execution/Extensions/QueryExecutionBuilderExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Core/Core/Execution/Extensions/QueryExecutionBuilderExtensions.cs b/src/Core/Core/Execution/Extensions/QueryExecutionBuilderExtensions.cs index 6ae98f99b4b..600dc0faa3e 100644 --- a/src/Core/Core/Execution/Extensions/QueryExecutionBuilderExtensions.cs +++ b/src/Core/Core/Execution/Extensions/QueryExecutionBuilderExtensions.cs @@ -702,8 +702,7 @@ public static IQueryExecutionBuilder AddDefaultDocumentHashProvider( } builder.Services.TryAddSingleton< - IDocumentHashProvider, - MD5DocumentHashProvider>(); + IDocumentHashProvider>(new MD5DocumentHashProvider()); return builder; }