graphqexl v0.1.0-alpha.rc.4 Graphqexl.Schema.Dsl

Domain-Specific Language for expressing and parsing a GQL string as a %Graphqexl.Schema{}

Link to this section Summary

Functions

Creates a new enum from the given spec

Creates a new interface from the given spec

Creates a new mutation from the given spec

Prepares the graphql schema dsl string for parsing

Creates a new query from the given spec

Creates a new schema from the given spec

Creates a new subscription from the given spec

Creates a new type from the given spec

Creates a new union from the given spec

Link to this section Functions

Link to this function

enum(schema, name, values)

(since 0.1.0)

Creates a new enum from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

interface(schema, name, list)

(since 0.1.0)

Creates a new interface from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

mutation(schema, list)

(since 0.1.0)

Creates a new mutation from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

preprocess(gql)

(since 0.1.0)

Prepares the graphql schema dsl string for parsing

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

query(schema, list)

(since 0.1.0)

Creates a new query from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

schema(schema, list)

(since 0.1.0)

Creates a new schema from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

subscription(schema, list)

(since 0.1.0)

Creates a new subscription from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

type(schema, name, list)

(since 0.1.0)

Creates a new type from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples

Link to this function

union(schema, name, type1, type2)

(since 0.1.0)

Creates a new union from the given spec

Returns %Graphqexl.Schema{}

TODO: docstring examples