FSharp.Data.GraphQL


Util

Namespace: FSharp.Data.GraphQL.Client

Functions and values

Function or valueDescription
compileTypesFromSchema asm ns schema
Signature: asm:Assembly -> ns:string -> schema:IntrospectionSchema -> Map<string,TypeReference>
createMethod (...)
Signature: schemaTypes:Map<string,TypeReference> -> serverUrl:string -> opName:string -> opField:IntrospectionField -> ProvidedMethod
createMethods (...)
Signature: tdef:ProvidedTypeDefinition -> serverUrl:string -> schema:IntrospectionSchema -> schemaTypes:Map<string,TypeReference> -> opType:IntrospectionTypeRef option -> unit
createPrimitiveMethod (...)
Signature: serverUrl:string -> opName:string -> opField:IntrospectionField -> args:ProvidedParameter list -> returnType:Type -> ProvidedMethod
Type parameters: 'T
firstToUpper str
Signature: str:string -> string
getOrFail err _arg1
Signature: err:string -> _arg1:'?7399 option -> '?7399
Type parameters: '?7399
requestSchema url
Signature: url:string -> Async<Choice<IntrospectionSchema,string []>>
tryOrFail err f
Signature: err:string -> f:(unit -> 'T) -> 'T
Type parameters: 'T
Fork me on GitHub