FSharp.Data.GraphQL


UnionDef

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
Description
Signature: string option
Modifiers: abstract

Optiona union type description.

CompiledName: get_Description

Name
Signature: string
Modifiers: abstract

Name of the union type definition.

CompiledName: get_Name

Options
Signature: ObjectDef []
Modifiers: abstract

Collection of object cases represented by this union.

CompiledName: get_Options

ResolveType
Signature: (obj -> 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: obj -> obj
Modifiers: abstract

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

Fork me on GitHub