using GraphQL.Types; using xModels.Dtos; namespace xDataService.Models { public class XGraphQueryResult : ObjectGraphType> where TGraph : IGraphType { public XGraphQueryResult () { // Name = $"{typeof(TGraph).Name}QueryResult"; // Field> (nameof (XQueryResult.Items)); Field (x => x.Page); Field (x => x.PageSize); Field (x => x.TotalPages); Field (x => x.TotalFilteredItems); Field (x => x.TotalItems); } } }