zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

variable_definition.ex (798B)


      1 defmodule Absinthe.Blueprint.Document.VariableDefinition do
      2   @moduledoc false
      3 
      4   alias Absinthe.{Blueprint, Type}
      5 
      6   @enforce_keys [:name, :type]
      7   defstruct [
      8     :name,
      9     :type,
     10     directives: [],
     11     default_value: nil,
     12     source_location: nil,
     13     # Added by phases
     14     flags: %{},
     15     provided_value: nil,
     16     errors: [],
     17     schema_node: nil
     18   ]
     19 
     20   @type t :: %__MODULE__{
     21           name: String.t(),
     22           type: Blueprint.TypeReference.t(),
     23           directives: [Blueprint.Directive.t()],
     24           default_value: Blueprint.Input.t(),
     25           source_location: nil | Blueprint.SourceLocation.t(),
     26           provided_value: nil | Blueprint.Input.t(),
     27           errors: [Absinthe.Phase.Error.t()],
     28           flags: Blueprint.flags_t(),
     29           schema_node: Type.t()
     30         }
     31 end