graphqexl v0.1.0-alpha-rc.4 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

Parse a gql string into a GraphQL schema suitable for any Graphqexl-compatible server

Register the given component on the given schema.

Link to this section Types

Link to this type

gql()

gql() :: String.t()

Link to this section Functions

Link to this function

gql(str)

gql(gql()) :: %Graphqexl.Schema{
  enums: term(),
  interfaces: term(),
  mutations: term(),
  queries: term(),
  str: term(),
  subscriptions: term(),
  types: term(),
  unions: term()
}

Parse a gql string into a GraphQL schema suitable for any Graphqexl-compatible server

Link to this function

register(schema, enum)

Register the given component on the given schema.