DavidTimms / DavidTimms/zod-fast-check

Support Zod 3.21 & 3.22

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
130
Forks
16
PR merge metrics
No merged PRs in 30d

Description

The new version of Zod brings new schema features which will need corresponding support in zod-fast-check.

https://github.com/colinhacks/zod/releases/tag/v3.21

Features:
- [ ] `.emoji`
- [ ] `.cuid2`
- [ ] `.ip`
- [ ] `z.bigint().{gt|gte|lt|lte}()`
- [ ] `z.enum(...).extract()` and `z.enum(...).exclude()`
- [ ] `.ulid`
- [x] `.readonly`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Zod 3.21 release notes, then inspect zod-fast-check's current handling of the listed schema features. Support the unchecked items—.emoji, .cuid2, .ip, bigint comparisons, enum extraction and exclusion, and .ulid—and verify each item against the existing test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.