View Source JetExt.Absinthe.Relay.Node.Notation (jet_ext v0.3.0)

Macros used to define Node-related schema entities

See Absinthe.Relay.Node for examples of use.

If you wish to use this module on its own without use Absinthe.Relay you need to include

@pipeline_modifier Absinthe.Relay.Schema

in your root schema module.

Summary

Functions

@spec additional_types(term(), term()) :: []
@spec fillout(term(), obj_or_node) :: obj_or_node when obj_or_node: var
Link to this macro

node(arg, list)

View Source (macro)

Define a node interface, field, or object type for a schema.

See the Absinthe.Relay.Node module documentation for examples.

Link to this function

resolve_with_global_id(res, opts)

View Source
@spec resolve_with_global_id(Absinthe.Resolution.t(), term()) ::
  Absinthe.Resolution.t()