GraphQL query compiler.
A QueryCompiler parses GraphQL queries to query algebra terms, then applies a collection of transformation phases in sequence, yielding a query algebra term which can be directly interpreted.
- Companion
- object
class Object
trait Matchable
class Any
Value members
Concrete methods
def compile(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel): Result[Operation]
Compiles the GraphQL query text
to a query algebra term which
can be directly executed.
Compiles the GraphQL query text
to a query algebra term which
can be directly executed.
Any errors are accumulated on the left.