Yson.GraphQL.Api.run
You're seeing just the function
run
, go back to Yson.GraphQL.Api module for more information.
Executes the GraphQL request and returns the parsed response or an error.
Example
run(ASchema, %{var1: "value"})
A successful call will return {:ok, parsed_data}
, while a failed call will return a generic error {:error, message}
.