Open-Trader/opentrader

Use Standard Schema as a DTO between Backend and Frontend

开放

#106 创建于 2025年2月9日

 (2 条评论) (0 个反应) (1 位负责人)TypeScript (319 个派生)auto 404
help wantedtechdepth

仓库指标

星标
 (2,749 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently the zod schema is converted to JSON using zod-to-json-schema, and back json-schema-to-zod. This way we can share the validation schema between apps.

Since Zod and other packages adopted Standard Schema, I guess we can use that and get rid of these dependencies, which have their own limitations.

贡献者指南