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

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

Build:
Build:
LAST BUILD BRANCH: feat/operation-hooks
DEFAULT BRANCH: master
Ran 09 Sep 2026 01:25PM 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

08 Sep 2026 12:45PM UTC coverage: 91.224% (-0.03%) from 91.251%
34356924823

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%)

2 existing lines in 1 file now uncovered.

2848 of 3122 relevant lines covered (91.22%)

413.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
93.33
-0.54% http.go
Jobs
ID Job ID Ran Files Coverage
1 34356924823.1 09 Sep 2026 01:25PM UTC 12
91.22
GitHub Action Run
Source Files on build 34356924823
  • 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