Skip to content
New issue

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

Implement Zod #70

Open
kbventures opened this issue Jan 14, 2025 · 1 comment
Open

Implement Zod #70

kbventures opened this issue Jan 14, 2025 · 1 comment
Assignees

Comments

@kbventures
Copy link
Contributor

Why zod?

Why Zod is Popular:
TypeScript Integration:

Zod allows you to define schemas that automatically infer TypeScript types, making it seamless for developers using TypeScript.
You get type safety and runtime validation in a single tool.
Simplicity:

Its API is intuitive and declarative, making it easy to create and validate schemas.
Compatibility:

Works well with modern backend frameworks like Hono, Express, and Fastify.
Validation and Parsing:

Combines validation and transformation (parsing) in one step, which reduces boilerplate code.

@madcampos
Copy link
Collaborator

I would add one thing: zod is lightweight and has no dependencies. Although less dependencies is good, we also have to take care of transient dependencies 🫠

@kbventures kbventures self-assigned this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants