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

bamorim / typed_ecto_schema / 49c5dc65f658b0dc1486d4daac312ff264142a87-PR-68
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: docs-restructure
DEFAULT BRANCH: master
Ran 25 Aug 2026 10:48PM UTC
Jobs 1
Files 5
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

25 Aug 2026 10:47PM UTC coverage: 100.0%. Remained the same
49c5dc65f658b0dc1486d4daac312ff264142a87-PR-68

Pull #68

github

bamorim
feat: field docs via a moduledoc marker (#41)

Fields accept a :doc option (stripped before the Ecto macro runs). When
the module's @moduledoc contains the <!-- typed_ecto_schema: fields -->
marker, it is replaced at compile time with a markdown list describing
every field: name, rendered typespec and the :doc text when present.

The marker is specific enough to be the opt-in itself: no schema
option, no application config, and the moduledoc is never touched
without it. Being an HTML comment, it stays invisible in rendered docs
even when left unreplaced.

Independently of the marker, the generated t/0 gets a @typedoc with a
Fields heading and the same list, but only when the module defines no
@typedoc of its own: an open @typedoc is kept (with the marker
interpolated in it like in the moduledoc) and @typedoc false is
respected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #68: feat: field docs via a moduledoc marker (#41)

21 of 21 new or added lines in 2 files covered. (100.0%)

190 of 190 relevant lines covered (100.0%)

35.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 49c5dc65f658b0dc1486d4daac312ff264142a87-PR-68.1 25 Aug 2026 10:48PM UTC 5
100.0
GitHub Action Run
Source Files on build 49c5dc65f658b0dc1486d4daac312ff264142a87-PR-68
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #68
  • PR Base - master (#940FE547...)
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