Skip to content

Conversation

@witch-factory
Copy link
Contributor

fixed #348

Make ZodMeta extend VeliteFile directly instead of using module augmentation

@coderabbitai
Copy link

coderabbitai bot commented Sep 8, 2025

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zce
Copy link
Owner

zce commented Sep 11, 2025

This is actually a issue caused by the compiler tool switching to tsup. My original idea was not to rely on Velite members in the hacked zod.

@zce
Copy link
Owner

zce commented Sep 11, 2025

However, as a workaround solution, this is feasible. thx

@zce zce merged commit 34fdb6f into zce:main Sep 11, 2025
2 checks passed
@zce
Copy link
Owner

zce commented Sep 11, 2025

We will resolve these issues soon.

@witch-factory
Copy link
Contributor Author

thx. I guessed it is related with #341 . If velite is migrated to zod v4, I expect type issues may become better. Cant wait to see it!

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.

ZodMeta type doesn't extend VeliteFile as documented

2 participants