(execute-graph chain args request-ctx)Execute the full backend_chain according to dependency waves. Returns a task that resolves to the final chain-ctx map.
Execution model: • Steps with no unmet deps form a wave and run in PARALLEL (m/join) • Waves are executed SEQUENTIALLY • Step errors are captured in chain-ctx, never thrown • Critical steps (if declared) can abort via error/throw-if-critical!
Execute the full backend_chain according to dependency waves. Returns a task that resolves to the final chain-ctx map. Execution model: • Steps with no unmet deps form a wave and run in PARALLEL (m/join) • Waves are executed SEQUENTIALLY • Step errors are captured in chain-ctx, never thrown • Critical steps (if declared) can abort via error/throw-if-critical!
(register-transformer! k transformer)Register a BffTransformer (or plain fn) under key k.
Register a BffTransformer (or plain fn) under key k.
(run-endpoint endpoint args request-ctx)Build and execute the full endpoint pipeline.
Returns a missionary task resolving to: {:data {...} ; the mapped output fields :errors [{...}] ; any step errors (may be empty)}
Partial failures are represented in :errors while :data contains whatever fields could be resolved from successful steps.
Build and execute the full endpoint pipeline.
Returns a missionary task resolving to:
{:data {...} ; the mapped output fields
:errors [{...}] ; any step errors (may be empty)}
Partial failures are represented in :errors while :data contains
whatever fields could be resolved from successful steps.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |