---
title: "Discussion on \"Zod: Stop Bad Data at the Door of Your Checkout\" | Hashnode"
description: "Discussion on \"Zod: Stop Bad Data at the Door of Your Checkout\". A customer fills in a checkout form and picks two ceramic mugs and a linen tote. Somewhere between the form and the server, the quantity turns into the string \"2\" instead of the number 2. TypeScript d"
url: "https://hashnode.com/posts/zod-stop-bad-data-at-the-door-of-your-checkout/6aeffa784bfa07375016925b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Zod: Stop Bad Data at the Door of Your Checkout](https://practicaldevblog.hashnode.dev/zod-stop-bad-data-at-the-door-of-your-checkout?utm_source=hashnode&utm_medium=feed)

A customer fills in a checkout form and picks two ceramic mugs and a linen tote. Somewhere between the form and the server, the quantity turns into the string "2" instead of the number 2. TypeScript d

5d ago · 7 min read · practicaldevblog.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#zod](https://hashnode.com/tag/zod)
-   [#validation](https://hashnode.com/tag/validation)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Waqas Shahid](https://hashnode.com/@practicaldevblog)

@practicaldevblog

  
[View profile](https://hashnode.com/@practicaldevblog)

Practical tutorials, tools, and tips for developers.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
