Documentation
¶
Overview ¶
Package graphql implements the ```graphql rehearse step block: a GraphQL query with `url=<endpoint>` in the info string, an optional `-- variables: {...}` directive, plus `-- assert-jsonpath: <path> == <json-value>` and `-- capture-jsonpath: <name> = <path>` directives. The block is compiled onto a generated Hurl document — a POST of the JSON body {query,variables} with `HTTP 200` asserted and the jsonpath asserts/captures in Hurl syntax — and executed via the hurl package's delegation, inheriting its missing-binary skip semantics and context-bag handling (REQ: graphql-block, REQ: context-bag).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor struct{}
Executor runs graphql step blocks.
func (*Executor) RequiredBinary ¶
RequiredBinary names the external binary the compiled document is delegated to, feeding the runner's upfront missing-binary scan — a scenario with a graphql block skips exactly like one with a hurl block when hurl is not on PATH (REQ: graphql-block).