Skip to main content

Module fields

Module fields 

Source
Expand description

Fields wrapper — prints the rendered op text per cycle.

Two modes, distinguished by whether op_fields are attached at wrap time:

  • Adapter-agnostic field render (fields: true on op template): resolves the op_fields the template carries via the per-fiber wires, prints each value verbatim, then forwards the call to inner. This is the canonical “render what the adapter would send” surface — under dryrun=fields the DRYRUN wrapper short-circuits inner, so this wrapper is the only surface that prints.
  • Body+wire dump (no op_fields at wrap): falls back to the inner result body + wire snapshot. Kept as the historical surface for callers that want post-execute introspection rather than pre-execute rendering.

Structs§

FieldsDispenser
Wraps any adapter’s dispenser and prints the result body to stdout as JSON after each execution. Adapter-agnostic — works with CQL, HTTP, stdout, or any adapter that returns a ResultBody.

Constants§

NAME
SRD-32a wrapper name.