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

manyminds / api2go / 33580477257
81%
master: 81%

Build:
Build:
LAST BUILD BRANCH: refuse-unsupported-relation-edits
DEFAULT BRANCH: master
Ran 02 Sep 2026 01:43AM 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

02 Sep 2026 01:42AM UTC coverage: 81.277%. First build
33580477257

Pull #9

josegonzalez
feat: let a resource refuse a relationship edit it cannot apply

api2go registers PATCH, POST, and DELETE on every relationship it advertises a self link for, and routes them all through the resource's `Update`. A resource that applies the change for only some relations - or none - has no way to say so, so it answers `204` for an edit it discarded and the client is told a change landed that never did. JSON:API names `403 Forbidden` as the answer for a relationship the server will not let a client edit that way. The new `RelationEditRefuser` interface lets a resource return that, or any other error, before the request is unmarshaled and `Update` is called. A resource that does not implement it keeps accepting every edit, as before.
Pull Request #9:

1515 of 1864 relevant lines covered (81.28%)

34.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33580477257.1 02 Sep 2026 01:43AM UTC 12
81.28
Source Files on build 33580477257
  • Tree
  • List 12
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9
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