Skip to content

Commit 201791a

Browse files
committed
Add totalCount to connection
1 parent 5caeb87 commit 201791a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Our.Umbraco.GraphQL/Types/ConnectionExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public static Connection<TSource> ToConnection<TSource, TParent>(this IEnumerabl
6060
return new Connection<TSource>
6161
{
6262
Edges = edges,
63+
TotalCount = totalCount,
6364
PageInfo = new PageInfo
6465
{
6566
EndCursor = edges.LastOrDefault()?.Cursor,

0 commit comments

Comments
 (0)