We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
z.ref
There is a special usage in JSON Schema:
{ "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "root": { "type": "object", "properties": { "type": { "type": "string" }, "arguments": { "type": "array" }, "children": { "type": "array", "items": { "$ref": "#/properties/root" } }, } } }, "required": [ "root" ] }
$ref means use a defined structure in the tree.
$ref
Have zod a similar function or not? If not, there is any posibility add it?
I try to use a defined structure in Zod, but the ts-server says the types are loop used
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is a special usage in JSON Schema:
$ref
means use a defined structure in the tree.Have zod a similar function or not? If not, there is any posibility add it?
I try to use a defined structure in Zod, but the ts-server says the types are loop used
The text was updated successfully, but these errors were encountered: