FSharp.Data.GraphQL


UnionDef<'In>

Namespace: FSharp.Data.GraphQL.Types

A GraphQL union definition. Unions are composite output types, that can return one of the defined case objects as outputs.

Instance members

Instance memberDescription
ResolveType
Signature: ('In -> ObjectDef) option
Modifiers: abstract

Optional funciton used to determine, which object definition is a concrete implementation of the current union for provided .NET object.

CompiledName: get_ResolveType

ResolveValue(arg1)
Signature: 'In -> obj
Modifiers: abstract

Helper function which provides ability to retrieve specific values, that are wrapped in F# discriminated unions.

Fork me on GitHub