zf

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

type_extension_definition.ex (615B)


      1 defmodule Absinthe.Language.TypeExtensionDefinition do
      2   @moduledoc false
      3 
      4   alias Absinthe.{Language, Blueprint}
      5 
      6   defstruct definition: nil,
      7             loc: %{line: nil}
      8 
      9   @type t :: %__MODULE__{
     10           definition: Language.ObjectTypeDefinition.t(),
     11           loc: Language.loc_t()
     12         }
     13 
     14   defimpl Blueprint.Draft do
     15     def convert(node, _doc) do
     16       raise Absinthe.Schema.Notation.Error,
     17             """
     18             \n
     19             SDL Compilation failed:
     20             -----------------------
     21             Keyword `extend` is not yet supported (#{inspect(node.loc)})
     22             """
     23     end
     24   end
     25 end