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

Talk proposal: don't cast! parse! a practical guide to schema validation with zod #60

Open
1 task done
edwardsharp opened this issue Mar 17, 2024 · 0 comments
Open
1 task done
Labels
Lightning ⚡️ Proposing a talk that's 5-10 minutes New York City Proposing a talk for an NYC event

Comments

@edwardsharp
Copy link

edwardsharp commented Mar 17, 2024

Talk title

don't cast! parse! a practical guide to schema validation with zod

Abstract

zod (a "TypeScript-first schema validation with static type inference" library) offers useful functions for validating input data against a known schema. this can bring a lot of sanity to typescript (or js) applications. a quick exploration about how network data (e.g. fetch) can be parsed safely so that code written to use that data can rely on a type interface that's validated during runtime (vs. the ill-suited as cast). i'll also showoff some functional-programming-inspired utilities for estimating type interfaces with sample datasets in order to create complex zod schemas quickly.

see also: https://github.com/edwardsharp/estimate-schema/

Your name (and pronouns)

3dwardsharp
they/them

Location

NYC

Contact Details

Code of Conduct

dontcastparse

@edwardsharp edwardsharp added the Lightning ⚡️ Proposing a talk that's 5-10 minutes label Mar 17, 2024
@SaraVieira SaraVieira added the New York City Proposing a talk for an NYC event label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lightning ⚡️ Proposing a talk that's 5-10 minutes New York City Proposing a talk for an NYC event
Projects
None yet
Development

No branches or pull requests

2 participants