Batch operations together in one request.
Returns a Response
for every operation.
batch (\a b c -> ( a, b, c ))
|> query operation1
|> query operation2
|> mutation operation3
batch : (GraphQL.Response.Response e a -> b) -> Batch (GraphQL.Response.Response e a -> b)
query : GraphQL.Operation.Operation GraphQL.Operation.Query e a -> Batch (GraphQL.Response.Response e a -> b) -> Batch b
mutation : GraphQL.Operation.Operation GraphQL.Operation.Mutation e a -> Batch (GraphQL.Response.Response e a -> b) -> Batch b
map : (a -> b) -> Batch a -> Batch b
Convert the batch value.
encode : Batch a -> Json.Encode.Value
Encode the batch operations for a request.
decoder : Batch a -> Json.Decode.Decoder a
Decoder for the response of a batch request.