From 3e0173266ec9cf3c2a9945564a8d2233cd674c31 Mon Sep 17 00:00:00 2001 From: IvAlex1986 Date: Tue, 26 Sep 2023 14:15:06 +0300 Subject: [PATCH] Mark 'BuildPipeline' method as virtual (#6549) --- .../src/Data/Execution/MongoDbAggregateFluentExecutable.cs | 2 +- .../MongoDb/src/Data/Execution/MongoDbCollectionExecutable.cs | 2 +- .../MongoDb/src/Data/Execution/MongoDbFindFluentExecutable.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbAggregateFluentExecutable.cs b/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbAggregateFluentExecutable.cs index c6486053d47..5a3f5ce5f5c 100644 --- a/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbAggregateFluentExecutable.cs +++ b/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbAggregateFluentExecutable.cs @@ -48,7 +48,7 @@ await BuildPipeline() /// Applies filtering sorting and projections on the /// /// A aggregate fluent including the configuration of this executable - public IAggregateFluent BuildPipeline() + public virtual IAggregateFluent BuildPipeline() { var pipeline = _aggregate; if (Sorting is not null) diff --git a/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbCollectionExecutable.cs b/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbCollectionExecutable.cs index 2f9431848fe..172cae71a14 100644 --- a/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbCollectionExecutable.cs +++ b/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbCollectionExecutable.cs @@ -92,7 +92,7 @@ await BuildPipeline() /// Applies filtering sorting and projections on the /// /// A find fluent including the configuration of this executable - public IFindFluent BuildPipeline() + public virtual IFindFluent BuildPipeline() { var options = Options as FindOptions ?? new FindOptions(); var filters = FilterDefinition.Empty; diff --git a/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbFindFluentExecutable.cs b/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbFindFluentExecutable.cs index c9cedf31d64..17d7ad70d44 100644 --- a/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbFindFluentExecutable.cs +++ b/src/HotChocolate/MongoDb/src/Data/Execution/MongoDbFindFluentExecutable.cs @@ -48,7 +48,7 @@ await BuildPipeline() /// Applies filtering sorting and projections on the /// /// A find fluent including the configuration of this executable - public IFindFluent BuildPipeline() + public virtual IFindFluent BuildPipeline() { var pipeline = _findFluent;