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

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

Build:
Build:
LAST BUILD BRANCH: renovate/typescript-eslint-and-its-rule-tester
DEFAULT BRANCH: master
Ran 09 May 2024 02:15PM UTC
Files 40
Run time 1s
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%. First build
9018610586.5

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%)

1126 of 1126 relevant lines covered (100.0%)

77.89 hits per line

Source Files on job run-20.9.0 - 9018610586.5
  • Tree
  • List 40
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9018610586
  • 4ef6ba6c on github
  • Next Job for on make-v19 (#9019036271.4)
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