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

Add Zod playground link #3454

Merged
merged 2 commits into from
May 2, 2024
Merged

Add Zod playground link #3454

merged 2 commits into from
May 2, 2024

Conversation

marilari88
Copy link
Contributor

Happy to share the link to Zod Playground: Zod Playground. It's a tool designed for instant testing of Zod schemas.
I hope you find it useful! Any feedback you have to improve it further would be greatly appreciated.

Copy link

netlify bot commented May 1, 2024

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 04af514
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/663208993d318e000843ed86
😎 Deploy Preview https://deploy-preview-3454--guileless-rolypoly-866f8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@marilari88
Copy link
Contributor Author

Hey @m10rten thanks for checking out Zod Playground and sharing your thoughts! I get where you're coming from, but let me shed some light on what makes it valuable.
Zod Playground isn't just a tool for quick schema testing; it's a playground designed to simplify your experience experimenting with Zod. Picture yourself as a newcomer to Zod or someone eager to explore a new feature. Without Zod Playground, you'd have to go through the hassle of setting up a project, installing Zod, writing your schema, inputting values, adding console logs, and then finally running the project to see the results. It's a bit of a tedious process, especially when all you want is a quick peek at how something functions.

But with this tool you can instantly draft your schema, add some values, and observe how they're parsed. It's a streamlined path to grasping Zod's intricacies without the typical setup headaches.

While Zod Playground may not reinvent the wheel, similar tools exist for other libraries precisely because they're so convenient. In fact, someone even expressed interest in such a tool for Zod check out this GitHub issue:.

@marilari88
Copy link
Contributor Author

Futhermore I've been contemplating some potential features to make it even more valuable. For example:

  • facilitating the sharing of Zod schemas among users
  • offering a selection of predefined schemas could allow users to explore various features more efficiently
  • data persistence, ensuring that inserted data is retained across sessions
  • enabling users to switch between different versions of Zod, including beta versions

@colinhacks
Copy link
Owner

WOW this is so cool! Thanks Marco!

@colinhacks colinhacks merged commit 3fed6f2 into colinhacks:master May 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants