dotnet-cqrs/PoweredSoft.CQRS.GraphQL.DynamicQuery/GraphQLDynamicQueryGroupResult.cs

14 lines
469 B
C#
Raw Normal View History

2021-02-04 13:51:31 -05:00
using System.Collections.Generic;
using System.Linq;
namespace PoweredSoft.CQRS.GraphQL.DynamicQuery
{
public class GraphQLDynamicQueryGroupResult<TResult> : GraphQLDynamicQueryResult<TResult>
{
public string GroupPath { get; set; }
public GraphQLVariantResult GroupValue { get; set; }
public bool HasSubGroups => SubGroups?.Any() == true;
public List<GraphQLDynamicQueryGroupResult<TResult>> SubGroups { get; set; }
}
}