-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
In Zod V3, the following generated Zod schema is valid
const metadata = z.record(z.string())
However in V4, it needs
const metadata = z.record(z.string(), z.string())
Can use the following JSON schema from OpenAPI to test
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
Metadata
Metadata
Assignees
Labels
No labels