FSharp.Data.GraphQL


ISchema

Namespace: FSharp.Data.GraphQL.Types

Interface used for receiving information about a whole schema and type system defined within it.

Instance members

Instance memberDescription
Directives
Signature: DirectiveDef []
Modifiers: abstract

List of all directives supported by the current schema.

CompiledName: get_Directives

GetPossibleTypes(arg1)
Signature: AbstractDef -> ObjectDef []
Modifiers: abstract

Returns array of all possible types for provided abstract type. For Union types, it's the array of all union options. For Interface types, it's an array of all types - within schema - implementing target interface.

Introspected
Signature: IntrospectionSchema
Modifiers: abstract

Returns an introspected representation of current schema.

CompiledName: get_Introspected

IsPossibleType(arg1 arg2)
Signature: AbstractDef -> ObjectDef -> bool
Modifiers: abstract

Checks if provided object is a possible type type (case for Unions and implementation for Interfaces) of provided abstract type.

Mutation
Signature: ObjectDef option
Modifiers: abstract

A mutation root object. Defines all top level operations, that can be performend from GraphQL mutations.

CompiledName: get_Mutation

Query
Signature: ObjectDef
Modifiers: abstract

A query root object. Defines all top level fields, that can be accessed from GraphQL queries.

CompiledName: get_Query

TryFindType(arg1)
Signature: string -> NamedDef option
Modifiers: abstract

Method which, given type name, returns Some if provided type has been defined in current schema. Otherwise None.

TypeMap
Signature: Map<string,NamedDef>
Modifiers: abstract

Map of defined types by their names.

CompiledName: get_TypeMap

Fork me on GitHub