You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FSharp.Data.GraphQL.Server.Relay/Connections.fs
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -159,13 +159,13 @@ module Definitions =
159
159
)
160
160
Define.AsyncField (
161
161
"startCursor",
162
-
Nullable StringType,
162
+
Nullable (StringType:> OutputDef<string>),
163
163
"When paginating backwards, the cursor to continue.",
164
164
fun _ pageInfo -> pageInfo.StartCursor
165
165
)
166
166
Define.AsyncField (
167
167
"endCursor",
168
-
Nullable StringType,
168
+
Nullable (StringType:> OutputDef<string>),
169
169
"When paginating forwards, the cursor to continue.",
170
170
fun _ pageInfo -> pageInfo.EndCursor
171
171
)
@@ -225,7 +225,7 @@ module Definitions =
225
225
fields =[
226
226
Define.AsyncField (
227
227
"totalCount",
228
-
Nullable IntType,
228
+
Nullable (IntType:> OutputDef<int>),
229
229
"""A count of the total number of objects in this connection, ignoring pagination. This allows a client to fetch the first five objects by passing \"5\" as the argument to `first`, then fetch the total count so it could display \"5 of 83\", for example. In cases where we employ infinite scrolling or don't have an exact count of entries, this field will return `null`.""",
0 commit comments