absinthe v0.2.2 Absinthe.Language.Document

The parsed AST representation of a query document

Summary

Functions

Extract a named operation definition from a document

Types

t :: %{definitions: [Absinthe.Traversal.Node.t], loc: Absinthe.Language.loc_t}

Functions

get_operation(map, name)

Specs

get_operation(t, binary) ::
  nil |
  Absinthe.Language.OperationDefinition.t

Extract a named operation definition from a document