timdeschryver / zod-fixture

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

Recursion using ZodLazy throws a stack error. #81

Closed THEtheChad closed 1 year ago

THEtheChad commented 1 year ago

Zod-fixture throws a stack error when using recursion as per the documentation. This was an oversight on my part 😅 We need a new implementation of ZodLazy that can approximate some level of recursion.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 2.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: