Module

GraphQLClient

Re-exports from GraphQLClient.Argument

#Optional

data Optional x

Constructors

Instances

#DefaultInput

class DefaultInput a  where

Members

Instances

#DefaultInputImplementationRecord

class DefaultInputImplementationRecord (row :: Row Type) (list :: RowList Type) | list -> row where

Members

Instances

#ToGraphQLArgumentImplementationRecord

class ToGraphQLArgumentImplementationRecord (list :: RowList Type) (row :: Row Type) | list -> row where

Members

Instances

#toGraphQLArguments

toGraphQLArguments :: forall row list. RowToList row list => ToGraphQLArgumentImplementationRecord list row => (Record row) -> Array Argument

else instance toGraphQLArgumentValueNewtype :: (Newtype a b, ToGraphQLArgumentValue b) => ToGraphQLArgumentValue a where toGraphQLArgumentValue = toGraphQLArgumentValue <<< unwrap

Re-exports from GraphQLClient.GraphQLEnum

#genericDecodeGraphQLEnum

Re-exports from GraphQLClient.HTTP

#RequestOptions

type RequestOptions = { headers :: Array RequestHeader, password :: Maybe String, timeout :: Maybe Milliseconds, username :: Maybe String, withCredentials :: Boolean }

#GraphQLError

data GraphQLError parsed

Constructors

#tryDecodeGraphQLResponse

tryDecodeGraphQLResponse :: forall parsed. (Json -> Either JsonDecodeError parsed) -> Json -> Either (GraphQLError parsed) parsed

#printGraphQLError

#graphqlRequestImpl

#graphqlQueryRequest

#graphqlMutationRequest

#defaultRequestOptions

Re-exports from GraphQLClient.Implementation

#SelectionSet

data SelectionSet parentTypeLock a

Constructors

Instances

#Scope__RootSubscription

#Scope__RootQuery

#Scope__RootMutation

#FragmentSelectionSet

#selectionForField

selectionForField :: forall parentTypeLock a. String -> Array Argument -> (Json -> Either JsonDecodeError a) -> SelectionSet parentTypeLock a

#selectionForCompositeField

selectionForCompositeField :: forall objectTypeLock lockedTo a b. String -> Array Argument -> ((Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError b) -> SelectionSet objectTypeLock a -> SelectionSet lockedTo b

#nonNullOrFail

nonNullOrFail :: forall lockedTo a. SelectionSet lockedTo (Maybe a) -> SelectionSet lockedTo a

#nonNullElementsOrFail

nonNullElementsOrFail :: forall lockedTo a. SelectionSet lockedTo (Array (Maybe a)) -> SelectionSet lockedTo (Array a)

#map2

map2 :: forall parentTypeLock a b c. (a -> b -> c) -> SelectionSet parentTypeLock a -> SelectionSet parentTypeLock b -> SelectionSet parentTypeLock c

#getSelectionSetDecoder

getSelectionSetDecoder :: forall lockedTo a. SelectionSet lockedTo a -> Json -> Either JsonDecodeError a

#foldl

foldl :: forall a b parentTypeLock. (b -> a -> b) -> b -> Array (SelectionSet parentTypeLock a) -> SelectionSet parentTypeLock b

#exhaustiveFragmentSelection

exhaustiveFragmentSelection :: forall typeLock decodesTo. Array (FragmentSelectionSet typeLock decodesTo) -> SelectionSet typeLock decodesTo

#enumDecoder

#buildFragment

buildFragment :: forall decodesTo selectionLock fragmentLock. String -> SelectionSet selectionLock decodesTo -> FragmentSelectionSet fragmentLock decodesTo

#bindSelectionSet

bindSelectionSet :: forall lockedTo a b. (a -> Either JsonDecodeError b) -> SelectionSet lockedTo a -> SelectionSet lockedTo b

Re-exports from GraphQLClient.WriteGraphQL

#writeGraphQLRawField

#writeGraphQLArrayRawField

#isOnSpreadPresent

#isOnSpread

#isEmptyChildren

Modules