From 8b7b81a092318e9b0532faf551ac13a991c8424c Mon Sep 17 00:00:00 2001 From: David Lebee Date: Wed, 16 Jun 2021 23:06:27 -0400 Subject: [PATCH] mistake should of been a continue was a break. --- PoweredSoft.CQRS.GraphQL.HotChocolate/QueryObjectType.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PoweredSoft.CQRS.GraphQL.HotChocolate/QueryObjectType.cs b/PoweredSoft.CQRS.GraphQL.HotChocolate/QueryObjectType.cs index a8492c9..a96673c 100644 --- a/PoweredSoft.CQRS.GraphQL.HotChocolate/QueryObjectType.cs +++ b/PoweredSoft.CQRS.GraphQL.HotChocolate/QueryObjectType.cs @@ -25,7 +25,7 @@ namespace PoweredSoft.CQRS.GraphQL.HotChocolate foreach (var q in queryDiscovery.GetQueries()) { if (q.Category != "BasicQuery") - return; + continue; var queryField = desc.Field(q.LowerCamelCaseName); var typeToGet = typeof(IQueryHandler<,>).MakeGenericType(q.QueryType, q.QueryResultType);