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

kentaro / toon_ex
17%
main: 34%

Build:
Build:
LAST BUILD BRANCH: ci/use-quality-ci
DEFAULT BRANCH: main
Repo Added 27 Oct 2025 04:08PM UTC
Token 4SJG7a3ryKXSPrTJOGDqgsku8gSEA2RJX regen
Build 15 Last
Files 19
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

LAST BUILD ON BRANCH fix/exclude-struct-in-except
branch: fix/exclude-struct-in-except
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/exclude-struct-in-except
  • ci/use-quality-ci
  • fix/normalize-dispatch-to-encoder
  • main

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

Relevant lines Covered
Build:
Build:
914 RELEVANT LINES 156 COVERED LINES
0.25 HITS PER LINE
Source Files on fix/exclude-struct-in-except
  • Tree
  • List 19
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
e21e68ae... fix/exclude-struct-in-except 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 fiel... Pull #3 28 Jan 2026 07:43AM UTC Chris Xu github
17.07
See All Builds (15)

Badge your Repo: toon_ex

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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