Skip to content

Conversation

@Wooshaah
Copy link
Contributor

@Wooshaah Wooshaah commented Feb 27, 2025

This change adds support for zod readonly fields. before this change the innertype was ignored and the value was always set to undefined.

generateMock now generates the correct underlaying type.

fixes #195

@nx-cloud
Copy link

nx-cloud bot commented Feb 27, 2025

View your CI Pipeline Execution ↗ for commit 486eb3a.

Command Status Duration Result
nx affected:test --base=origin/main --codeCoverage ✅ Succeeded 22s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-27 14:17:01 UTC

@MarbodNaassens
Copy link

MarbodNaassens commented Mar 3, 2025

When can this be reviewed? Would love to have this asap.

@Brian-McBride Brian-McBride merged commit 961ce2d into anatine:main Apr 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[zod-mock] Support for ZodReadonly

3 participants