anatine / zod-plugins

Plugins and utilities for Zod
591 stars 84 forks source link

[zod-mock] Support for ZodReadonly #195

Open ericyoungberg opened 3 months ago

ericyoungberg commented 3 months ago

Looks like support for ZodReadonly was added to zod-openapi but not for zod-mock. The issue that I am running into is nearly identical to the issue that was resolved by the linked PR, except that it is in regards to the generateMock function instead of generateSchema.