Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 408 Bytes
using System.Collections.Generic;
using System.Linq;
namespace GraphQL.Types.Relay.DataObjects
{
public class Connection<T>
{
public int TotalCount { get; set; }
public PageInfo PageInfo { get; set; }
public List<Edge<T>> Edges { get; set; }
public List<T> Items
{
get { return Edges?.Select(edge => edge.Node).ToList(); }
}
}
}
You can’t perform that action at this time.