zf

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

directive_location.ex (666B)


      1 defmodule Absinthe.Introspection.DirectiveLocation do
      2   @moduledoc false
      3 
      4   # https://spec.graphql.org/draft/#sec-Schema-Introspection
      5 
      6   @executable_directive_locations [
      7     :query,
      8     :mutation,
      9     :subscription,
     10     :field,
     11     :fragment_definition,
     12     :fragment_spread,
     13     :inline_fragment,
     14     :variable_definition
     15   ]
     16   @type_system_directive_locations [
     17     :schema,
     18     :scalar,
     19     :object,
     20     :field_definition,
     21     :argument_definition,
     22     :interface,
     23     :union,
     24     :enum,
     25     :enum_value,
     26     :input_object,
     27     :input_field_definition
     28   ]
     29 
     30   def values do
     31     @executable_directive_locations ++
     32       @type_system_directive_locations
     33   end
     34 end