Skip to content

@valibot/to-json-schema - add support for Async schemas #1515

Description

@hollandjake

Add support for async schemas (v.BaseSchemaAsync<unknown, unknown, v.BaseIssue>) so that we can get the structure out of a schema (of course it cant run the async logic)

This should function similarly to the existing toJSONSchema

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions