View Source AbsintheRemote.Result (Absinthe Remote v0.3.0)

A result handler that keeps atom keys.

From the absinthe_phoenix project @ https://github.com/absinthe-graphql/absinthe_phoenix/blob/5f9e9e2b953bb15a1bb89bbe4810959bdeb12367/lib/absinthe/phoenix/controller/result.ex

Summary

Functions

@spec flag_invalid(node :: Absinthe.Blueprint.node_t()) :: Absinthe.Blueprint.node_t()
Link to this function

flag_invalid(node, flag)

View Source
@spec flag_invalid(node :: Absinthe.Blueprint.node_t(), flag :: atom()) ::
  Absinthe.Blueprint.node_t()
Link to this function

flag_invalid(node, flag, reason)

View Source
@spec flag_invalid(
  node :: Absinthe.Blueprint.node_t(),
  flag :: atom(),
  reason :: String.t()
) ::
  Absinthe.Blueprint.node_t()
Link to this function

inherit_invalid(node, children, add_flag)

View Source
@spec run(Absinthe.Blueprint.t() | Absinthe.Phase.Error.t(), Keyword.t()) ::
  {:ok, map()}

Callback implementation for Absinthe.Phase.run/2.