absinthe v1.2.0-alpha.1 Absinthe.Pipeline

Summary

Types

Functions

before(pipeline, phase)

Specs

before(t, atom) :: t

Return the part of a pipeline before a specific phase.

for_document(schema, options \\ [])

Specs

for_document(Absinthe.Schema.t, Keyword.t) :: t
for_schema(prototype_schema, options \\ [])

Specs

for_schema(nil | Absinthe.Schema.t, Keyword.t) :: t
from(pipeline, phase)

Specs

from(t, atom) :: t

Return the part of a pipeline after (and including) a specific phase.

insert_after(pipeline, phase, additional)
insert_before(pipeline, phase, additional)

Specs

insert_before(t, Absinthe.Phase.t, Absinthe.Phase.t) :: t
insert_before(t, Absinthe.Phase.t, Absinthe.Phase.t) :: t
reject(pipeline, pattern)

Specs

reject(t, Regex.t) :: t
run(input, pipeline)

Specs

run(data_t, t) ::
  {:ok, data_t, [Absinthe.Phase.t]} |
  {:error, String.t, [Absinthe.Phase.t]}
run_phase(pipeline, input, done \\ [])

Specs

run_phase(t, data_t, [Absinthe.Phase.t]) ::
  {:ok, data_t, [Absinthe.Phase.t]} |
  {:error, String.t, [Absinthe.Phase.t]}
upto(pipeline, phase)

Specs

upto(t, atom) :: t

Return the part of a pipeline up to and including a specific phase.

without(pipeline, phase)

Specs

without(t, Absinthe.Phase.t) :: t