Current section
Files
Jump to
Current section
Files
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