harmboschloo/graphql-to-elm/1.0.0

GraphQL.Operation

A GraphQL operation.

type Operation t e a
type Query
withName : String -> Maybe Value -> Decoder a -> Decoder e -> Operation t e a
withQuery : String -> Maybe Value -> Decoder a -> Decoder e -> Operation t e a
encode : Operation t e a -> Value
queryParameters : Operation t e a -> List QueryParameter
dataDecoder : Operation t e a -> Decoder a
errorsDecoder : Operation t e a -> Decoder e
mapData : (a -> b) -> Operation t e a -> Operation t e b
mapErrors : (e1 -> e2) -> Operation t e1 a -> Operation t e2 a