Skip to content

@remotion/studio: Fix problematic Zod schema#4413

Merged
JonnyBurger merged 7 commits intoremotion-dev:mainfrom
avanderbergh:avanderbergh/issue4157
Oct 23, 2024
Merged

@remotion/studio: Fix problematic Zod schema#4413
JonnyBurger merged 7 commits intoremotion-dev:mainfrom
avanderbergh:avanderbergh/issue4157

Conversation

@avanderbergh
Copy link
Copy Markdown
Contributor

Fixes #4157

In the case where a min check exists on a Number type, we use that value instead of 0.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Oct 17, 2024

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

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 11:49am
remotion ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 11:49am
remotion-convert ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 11:49am

Comment thread packages/studio/src/components/RenderModal/SchemaEditor/create-zod-values.ts Outdated
@JonnyBurger
Copy link
Copy Markdown
Member

Thanks a lot! Very valuable.

@JonnyBurger JonnyBurger enabled auto-merge October 23, 2024 11:41
@JonnyBurger JonnyBurger changed the title Problematic Zod schema @remotion/studio: Fix problematic Zod schema Oct 23, 2024
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.

Problematic Zod schema

2 participants