Current section

Files

Jump to
graphql_builder lib query query.ex
Raw

lib/query/query.ex

defmodule GraphqlBuilder.Query do
@moduledoc """
Data structure used to represent the data used to generate query or mutation data.
"""
@type t :: %__MODULE__{
operation: atom,
fields: [atom],
variables: [atom]
}
defstruct [
:operation,
:fields,
:variables
]
end