FSharp.Data.GraphQL


SchemaDefinitions

Namespace: FSharp.Data.GraphQL.Types

Nested types and modules

TypeDescription
Define

Common space for all definition helper methods.

Functions and values

Function or valueDescription
Boolean
Signature: ScalarDefinition<bool>

GraphQL type of boolean

coerceBoolInput _arg1
Signature: _arg1:Value -> bool option

Tries to resolve AST query input to bool.

coerceStringInput _arg1
Signature: _arg1:Value -> string option

Tries to resolve AST query input to string.

coerceStringValue x
Signature: x:obj -> string option

Tries to convert any value to string.

Date
Signature: ScalarDefinition<(type)>

GraphQL type for System.DateTime

Float
Signature: ScalarDefinition<double>

GraphQL type of float

ID
Signature: ScalarDefinition<'Val>
Type parameters: 'Val

GraphQL type for custom identifier

IncludeDirective
Signature: DirectiveDef

GraphQL @include directive.

Int
Signature: ScalarDefinition<int>

GraphQL type of int

ListOf innerDef
Signature: innerDef:'a -> ListOfDef<'Val,'Seq>
Type parameters: 'a, 'Val, 'Seq

Wraps a GraphQL type definition, allowing defining field/argument to take collection of provided value.

Nullable innerDef
Signature: innerDef:'a -> NullableDef<'Val>
Type parameters: 'a, 'Val

Wraps a GraphQL type definition, allowing defining field/argument to take option of provided value.

SkipDirective
Signature: DirectiveDef

GraphQL @skip directive.

String
Signature: ScalarDefinition<string>

GraphQL type of string

Uri
Signature: ScalarDefinition<(type)>

GraphQL type for System.Uri

variableOrElse other variables _arg1
Signature: other:(Value -> '?8696) -> variables:Map<string,'?8696> -> _arg1:Value -> '?8696
Type parameters: '?8696
Fork me on GitHub