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

kentaro / toon_ex / e21e68ae910628d61f325601e4c9483c6181581a-PR-3 / 1
17%
main: 34%

Build:
Build:
LAST BUILD BRANCH: ci/use-quality-ci
DEFAULT BRANCH: main
Ran 28 Jan 2026 07:43AM UTC
Files 19
Run time 0s
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

19 Jan 2026 07:49AM UTC coverage: 17.068% (+17.1%) from 0.0%
e21e68ae910628d61f325601e4c9483c6181581a-PR-3.1

Pull #3

github

Chris Xu
fix: remove parantheses to make except work

The expression `[:__struct__] -- except` evaluates to `[:__struct__]`
(since except typically doesn't contain `:__struct__)`, so the final
result is `Map.keys(struct) -- [:__struct__]` — the except fields are
never removed.

This especially happens when deriving from Ecto schemas and ignoring the
`__meta__` like this:
`@derive {Toon.Encoder, except: [:__meta__]}`

This solves it by removing the parentheses. The PR adds necessary tests
to make sure this is fixed.
Pull Request #3: fix: remove parantheses to make `@derive` with `except` work

156 of 914 relevant lines covered (17.07%)

0.25 hits per line

Source Files on job e21e68ae910628d61f325601e4c9483c6181581a-PR-3.1
  • Tree
  • List 19
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • e21e68ae on github
  • Prev Job for on fix/exclude-struct-in-except (#673ccb5e70b8d5e127fb6358fb4557d96acec5b9.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc