Yson.GraphQL.Api (yson v0.2.2) View Source
Defines the GraphQL Api.
It also provides a function to run requests to the api and parse the obtained response,
hiding the complexity of Yson.GraphQL.Builder
and Yson.Parser
usage
iex> variables = %{var1: "value"}
iex> headers = [] # optional
iex> options = [] # optional
iex> Api.run(Schema, variables, "https://mysite.com/graphql", headers, options)
Link to this section Summary
Functions
Executes the GraphQL request and returns the parsed response or an error.