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

feat(core): add render preset #239

Merged
merged 4 commits into from
Jul 22, 2024
Merged

feat(core): add render preset #239

merged 4 commits into from
Jul 22, 2024

Conversation

Gomah
Copy link
Contributor

@Gomah Gomah commented May 21, 2024

Copy link

vercel bot commented May 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
t3-env ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 8:11am

Copy link

vercel bot commented May 21, 2024

@Gomah is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@juliusmarminge juliusmarminge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Sorry for not seeing this sooner

export const render = () =>
createEnv({
server: {
IS_PULL_REQUEST: z.string().optional(),
Copy link
Member

@juliusmarminge juliusmarminge Jul 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something to think of for the future, should we coerce booleans like this? Similar for process.env.VERCEL which is either 1 or 0

z.coerce.boolean() ?

@juliusmarminge juliusmarminge merged commit 8737daf into t3-oss:main Jul 22, 2024
4 of 5 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