Open-Trader/opentrader
Use Standard Schema as a DTO between Backend and Frontend
Ouverte
#106 ouverte le 9 févr. 2025
help wantedtechdepth
Métriques du dépôt
- Stars
- (2 749 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
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.