mochi
mochi — Code First GraphQL for Gleam.
This module re-exports the most common entry points. See
mochi/query, mochi/types, and mochi/schema for the full API.
Values
pub fn execute(
schema: schema.Schema,
query_string: String,
) -> executor.ExecutionResult
Execute a GraphQL query against a schema.
pub fn parse(
query_string: String,
) -> Result(ast.Document, parser.ParseError)
Parse a GraphQL query string into an AST document.