batch_loader v0.1.0-beta.6 BatchLoader.Absinthe.Plugin View Source
Absinthe Plugin which re-runs the delayed resolution and executes batching.
Link to this section Summary
Functions
callback to do something with the resolution accumulator after resolution.
callback to setup the resolution accumulator prior to resolution.
callback used to specify additional phases to run.
Link to this section Functions
callback to do something with the resolution accumulator after resolution.
NOTE: This function is given the full accumulator. Namespacing is suggested to avoid conflicts.
Callback implementation for Absinthe.Plugin.after_resolution/1
.
callback to setup the resolution accumulator prior to resolution.
NOTE: This function is given the full accumulator. Namespacing is suggested to avoid conflicts.
Callback implementation for Absinthe.Plugin.before_resolution/1
.
callback used to specify additional phases to run.
Plugins may require additional resolution phases to be run. This function should use values set in the resolution accumulator to determine whether or not additional phases are required.
NOTE: This function is given the whole pipeline to be inserted after the current phase completes.
Callback implementation for Absinthe.Plugin.pipeline/2
.