timdeschryver / zod-fixture

Creating fixtures based on zod schemas
https://zod-fixture.timdeschryver.dev/
MIT License
122 stars 10 forks source link

ZodDefault & Deterministic Updates to Boolean #84

Closed THEtheChad closed 1 year ago

THEtheChad commented 1 year ago

I noticed ZodDefault was missing from our list of generators. In the process of adding the generator and trying to deterministically alternate between the default and the internal zod type, I realized that our boolean generator was not based off the seed provided to the transformer which could create inconsistencies in testing environments. The proposed changes should alleviate this issue.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
zod-fixture ✅ Ready (Inspect) Visit Preview Aug 1, 2023 6:42am
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: