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

docs: import zod@latest into docs window #2254

Closed
wants to merge 1 commit into from
Closed

docs: import zod@latest into docs window #2254

wants to merge 1 commit into from

Conversation

extradosages
Copy link

Description

This imports zod@latest into the browser window on the docs page so that people visiting the page can try it out in the console. It is accessible in the top-level variable z. There's a little console log that pops up, as well.

Tests

Tested on Firefox 111.0.1. This mozilla browser compatibility table seems to indicate that this will work everywhere.

Here's a screenshot of the PR in effect on a locally-hosted instance of the page:
image

@netlify
Copy link

netlify bot commented Mar 27, 2023

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 26a2fa7
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/64220ef3176be300086a5564
😎 Deploy Preview https://deploy-preview-2254--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 settings.

@extradosages extradosages changed the title feat: import zod@latest into docs window docs: import zod@latest into docs window Mar 27, 2023
@extradosages
Copy link
Author

extradosages commented May 23, 2023

Anybody know what the review process is here?
@colinhacks @JacobWeisenburger

@extradosages
Copy link
Author

extradosages commented Jun 12, 2023

🧂 Seems like this pr was implemented by #2432 while we were waiting for review

@extradosages extradosages deleted the try-zod-in-docs branch June 12, 2023 15:07
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.

1 participant