absinthe v1.2.3 Absinthe.Phase behaviour

Behaviour for Absinthe Phases.

A phase takes an Absinthe.Blueprint document and returns another blueprint document. All validation, resolution, and result bulding happens via phases. See Absinthe.Pipeline for information on how to run phases. See the code under this namespace for information on individual phases.

Summary

Types

result_t()
result_t ::
  {:ok, any} |
  {:jump, any, t} |
  {:insert, any, t | [t]} |
  {:replace, any, t | [t]} |
  {:error, String.t}
t()
t :: module

Callbacks

run(any, any)
run(any, any) :: result_t