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

RobinTail / express-zod-api / 9018610586
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feat-zts-upd-2025-12-31
DEFAULT BRANCH: master
Ran 09 May 2024 02:14PM UTC
Jobs 6
Files 40
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

09 May 2024 02:13PM UTC coverage: 100.0%. Remained the same
9018610586

Pull #1692

github

web-flow
Complete `zod` plugin with proprietary brands (#1730)

Due to #1721,
https://github.com/colinhacks/zod/pull/2860#issuecomment-2092003453, and
#1719 I'm exploring the possibility to alter the behaviour of `.brand()`
for storing the `brand` property as a way to distinguish the proprietary
schemas in runtime.

This can replace the `proprietary()` function with a call of `.brand()`.

However, so far it turned out to be breaking because `ZodBranded` does
not expose the methods of the wrapped schema, such as `.extend()`, which
is used in `accept-raw.ts` endpoint for possible route params.

——

After a series of serious considerations I realized that exposing brand
to consumers of `express-zod-api` could be a beneficial feature.
Runtime brand can be accessed via
`._def[Symbol.for("express-zod-api")].brand`
Pull Request #1692: `v19` is for Dime

690 of 725 branches covered (95.17%)

114 of 114 new or added lines in 19 files covered. (100.0%)

1126 of 1126 relevant lines covered (100.0%)

467.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-18.x - 9018610586.1 09 May 2024 02:14PM UTC 40
100.0
GitHub Action Run
2 run-20.x - 9018610586.2 09 May 2024 02:14PM UTC 40
100.0
GitHub Action Run
3 run-22.0.0 - 9018610586.3 09 May 2024 02:14PM UTC 40
100.0
GitHub Action Run
4 run-22.x - 9018610586.4 09 May 2024 02:14PM UTC 40
100.0
GitHub Action Run
5 run-20.9.0 - 9018610586.5 09 May 2024 02:14PM UTC 40
100.0
GitHub Action Run
6 run-18.18.0 - 9018610586.6 09 May 2024 02:14PM UTC 40
100.0
GitHub Action Run
Source Files on build 9018610586
  • Tree
  • List 40
  • Changed 37
  • Source Changed 25
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9018610586
  • Pull Request #1692
  • PR Base - master (#9014855968)
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