Packages

Helpers for building modular GraphQL API projects using Absinthe and Phoenix.

Current section

Files

Jump to
grapix lib query_spec.ex
Raw

lib/query_spec.ex

defmodule Grapix.QuerySpec do
@enforce_keys [:doc, :selection, :schema]
defstruct [:doc, :op_name, :selection, :schema]
@type t :: %__MODULE__{
op_name: String.t(),
selection: String.t(),
doc: String.t(),
schema: module
}
end