pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/anatine/zod-plugins/pull/242

ets/global-68dd150ce6c8e711.css" /> feat(zod-mock): add support for readonly fields by Wooshaah · Pull Request #242 · anatine/zod-plugins · GitHub
Skip to content

feat(zod-mock): add support for readonly fields#242

Merged
Brian-McBride merged 1 commit intoanatine:mainfrom
Wooshaah:feature/zod-mock/support-readonly-schema
Apr 4, 2025
Merged

feat(zod-mock): add support for readonly fields#242
Brian-McBride merged 1 commit intoanatine:mainfrom
Wooshaah:feature/zod-mock/support-readonly-schema

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=origen/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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy