graphqexl v0.1.0-alpha-rc.docs-test-2 Graphqexl.Schema
Structured representation of a GraphQL schema, either built dynamically or parsed from a JSON document or GQL string.
Link to this section Summary
Functions
Parses a json map into a Graphqexl.Schema.t/0
.
Registers the given component on the given schema.
Link to this section Types
Link to this type
component()
component() :: Graphqexl.Schema.TEnum.t() | Graphqexl.Schema.Interface.t() | Graphqexl.Schema.Mutation.t() | Graphqexl.Schema.Query.t() | Graphqexl.Schema.Subscription.t() | Graphqexl.Schema.Type.t() | Graphqexl.Schema.Union.t()
Link to this type
t()
t() :: %Graphqexl.Schema{ enums: [Graphqexl.Schema.TEnum.t()], interfaces: [Graphqexl.Schema.Interface.t()], mutations: [Graphqexl.Schema.Mutation.t()], queries: [Queries.t()], str: gql(), subscriptions: [Graphqexl.Schema.Subscription.t()], types: [Graphqexl.Schema.Type.t()], unions: [Graphqexl.Schema.Union.t()] }
Link to this section Functions
Parses a json map into a Graphqexl.Schema.t/0
.
Returns Graphqexl.Schema.t/0
Link to this function
register(schema, component)
(since 0.1.0)register(GraphqexlSchema.t(), component()) :: Graphqexl.Schema.t()
Registers the given component on the given schema.
Returns Graphqexl.Schema.t/0