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

A copy of the Absinthe.Phase.Document.Execution.Resolution module.

From the absinthe project @ https://github.com/absinthe-graphql/absinthe/blob/fa9c8b68b88e88e4fb073d87681812a15e22ce1f/lib/absinthe/phase/document/execution/resolution.ex

The only modification is to include raw_query and operation_name for later retrieval.

Summary

Functions

Link to this function

error(node, message, path, extra)

View Source
@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
Link to this function

resolve_field(field, res, source, parent_type, path)

View Source
Link to this function

run(bp_root, options \\ [])

View Source

Callback implementation for Absinthe.Phase.run/2.

Link to this function

walk_result(result, bp_node, schema_type, res, path)

View Source

This function walks through any existing results. If no results are found at a given node, it will call the requisite function to expand and build those results