FSharp.Data.GraphQL


Definitions

Namespace: FSharp.Data.GraphQL.Relay

Functions and values

Function or valueDescription
ConnectionOf nodeType
Signature: nodeType:'?7677 -> ObjectDef<Connection<'Node>>
Type parameters: '?7677, 'Node

Converts existing output type definition into Relay-compatible connection. must not be a List.

EdgeOf nodeType
Signature: nodeType:'?7674 -> ObjectDef<Edge<'Node>>
Type parameters: '?7674, 'Node

Converts existing output type defintion into an edge in a Relay connection. must not be a List.

PageInfo
Signature: ObjectDef<PageInfo>

Object defintion representing information about pagination in context of Relay connection

Active patterns

Active patternDescription
( |SliceInfo|_| ) ctx
Signature: ctx:ResolveFieldContext -> SliceInfo option

Active pattern used to match context arguments in order to construct Relay slice information.

CompiledName: |SliceInfo|_|

Fork me on GitHub