• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

amboss-mededu / gateway / 35236863921
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: feat/operation-hooks
DEFAULT BRANCH: master
Ran 17 Sep 2026 02:56PM UTC
Jobs 1
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Sep 2026 02:55PM UTC coverage: 91.288% (+0.04%) from 91.251%
35236863921

Pull #20

github

cideM
Add per-operation hooks to GraphQLHandler

The handler already exposes pre/post hooks per plan step, but nothing runs
once per operation, and the response payload is assembled entirely inside
executeRequest. Users who need to touch the payload, e.g. to add response
extensions gathered during execution, had to reimplement the handler.

WithPreOperationHook runs after the RequestContext is built and before
planning; it may replace rc.Context, which is how per-operation state
reaches the executor and the queryers even in batch mode, where every
operation otherwise shares the incoming request context.

WithPostOperationHook runs as the last step before the operation's payload
is written, on success and on failure. It sees the payload exactly as the
gateway would have written it, including the gateway's own extensions, and
may add or modify keys. The gateway itself makes no assumptions about what
the hook does with them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Pull Request #20: Add per-operation hooks to GraphQLHandler

21 of 21 new or added lines in 2 files covered. (100.0%)

2850 of 3122 relevant lines covered (91.29%)

414.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35236863921.1 17 Sep 2026 02:56PM UTC 12
91.29
GitHub Action Run
Source Files on build 35236863921
  • Tree
  • List 12
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #20
  • PR Base - master (#33887190340)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc