From a35eda5f079ca28dfd3833a2874963279c5cf1a9 Mon Sep 17 00:00:00 2001 From: Mike Alhayek Date: Mon, 8 Jan 2024 14:55:17 -0800 Subject: [PATCH] Fix dependencies for GraphQL (#15015) --- .../OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs | 2 +- .../OrchardCore.Search.Lucene/GraphQL/Startup.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs b/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs index 9f4f883774f..f026c4b5c74 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Search.Elasticsearch.GraphQL /// /// These services are registered on the tenant service collection /// - [RequireFeatures("OrchardCore.Apis.GraphQL")] + [RequireFeatures("OrchardCore.Apis.GraphQL", "OrchardCore.Queries")] public class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services) diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs index 431ea5cca7e..c58d5612692 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Search.Lucene.GraphQL /// /// These services are registered on the tenant service collection /// - [RequireFeatures("OrchardCore.Apis.GraphQL")] + [RequireFeatures("OrchardCore.Apis.GraphQL", "OrchardCore.Queries")] public class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services)