absinthe_relay v1.2.0-alpha.2 Absinthe.Relay.Node.Helpers

Summary

Functions

Wrap a resolver to parse node (global) ID arguments before it is executed

Functions

parsing_node_ids(resolver, id_keys)

Wrap a resolver to parse node (global) ID arguments before it is executed.

Examples

Parse a node (global) ID argument :item_id (which should be an ID for the :item type)

resolve parsing_node_ids(&my_field_resolver/2, item_id: :item)