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

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

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

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

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

0 of 1 new or added line in 1 file covered. (0.0%)

156 of 914 relevant lines covered (17.07%)

0.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
5.0
5.0% lib/toon/encoder.ex
Jobs
ID Job ID Ran Files Coverage
1 e21e68ae910628d61f325601e4c9483c6181581a-PR-3.1 28 Jan 2026 07:43AM UTC 19
17.07
GitHub Action Run
Source Files on build e21e68ae910628d61f325601e4c9483c6181581a-PR-3
  • Tree
  • List 19
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3
  • PR Base - main (#673CCB5E...)
  • 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