mistake should of been a continue was a break.
This commit is contained in:
parent
de72b86abf
commit
8b7b81a092
@ -25,7 +25,7 @@ namespace PoweredSoft.CQRS.GraphQL.HotChocolate
|
|||||||
foreach (var q in queryDiscovery.GetQueries())
|
foreach (var q in queryDiscovery.GetQueries())
|
||||||
{
|
{
|
||||||
if (q.Category != "BasicQuery")
|
if (q.Category != "BasicQuery")
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
var queryField = desc.Field(q.LowerCamelCaseName);
|
var queryField = desc.Field(q.LowerCamelCaseName);
|
||||||
var typeToGet = typeof(IQueryHandler<,>).MakeGenericType(q.QueryType, q.QueryResultType);
|
var typeToGet = typeof(IQueryHandler<,>).MakeGenericType(q.QueryType, q.QueryResultType);
|
||||||
|
Loading…
Reference in New Issue
Block a user