FSharp.Data.GraphQL


IntrospectionType

Namespace: FSharp.Data.GraphQL.Types
Parent Module: Introspection

Introspection descriptor of a GraphQL type defintion.

Record Fields

Record FieldDescription
Description
Signature: string option

Optional type description.

EnumValues
Signature: IntrospectionEnumVal [] option

Array of enum values defined by current Enum type.

Fields
Signature: IntrospectionField [] option

Array of field descriptors defined within current type. Only present for Object and Interface types.

InputFields
Signature: IntrospectionInputVal [] option

Array of input fields defined by current InputObject type.

Interfaces
Signature: IntrospectionTypeRef [] option

Array of interfaces implemented by output object type defintion.

Kind
Signature: TypeKind

Which kind category current type belongs to.

Name
Signature: string

Type name. Must be unique in scope of the defined schema.

OfType
Signature: IntrospectionTypeRef option

Type param reference - used only by List and NonNull types.

PossibleTypes
Signature: IntrospectionTypeRef [] option

Array of type references being possible implementation of current type. Only present for Union types (list of union cases) and Interface types (list of all objects implementing interface in scope of the schema).

Static members

Static memberDescription
Enum(name, description, enumValues)
Signature: (name:string * description:string option * enumValues:IntrospectionEnumVal []) -> IntrospectionType

Constructs an introspection descriptor for a types.

InputObject(...)
Signature: (name:string * description:string option * inputFields:IntrospectionInputVal []) -> IntrospectionType

Constructs an introspection descriptor for a types.

Interface(...)
Signature: (name:string * description:string option * fields:IntrospectionField [] * possibleTypes:IntrospectionTypeRef []) -> IntrospectionType

Constructs an introspection descriptor for a types.

Object(...)
Signature: (name:string * description:string option * fields:IntrospectionField [] * interfaces:IntrospectionTypeRef []) -> IntrospectionType

Constructs an introspection descriptor for a types.

Scalar(name, description)
Signature: (name:string * description:string option) -> IntrospectionType

Constructs an introspection descriptor for a types.

Union(name, description, possibleTypes)
Signature: (name:string * description:string option * possibleTypes:IntrospectionTypeRef []) -> IntrospectionType

Constructs an introspection descriptor for a types.

Fork me on GitHub