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

fix: add InstanceSchema to transformAsync #138

Conversation

Yovach
Copy link
Contributor

@Yovach Yovach commented Sep 2, 2023

I can't do

transformAsync(instance(File), async (input) => {
  return file.length;
});

but

transform(instance(File), async (input) => {
  return file.length;
});

is working

@netlify
Copy link

netlify bot commented Sep 2, 2023

Deploy Preview for valibot canceled.

Name Link
🔨 Latest commit e6571e8
🔍 Latest deploy log https://app.netlify.com/sites/valibot/deploys/64f3a46d1fc557000806cd6d

@fabian-hiller
Copy link
Owner

Thank you! I will try to release a new version with the fix in the next days.

@fabian-hiller fabian-hiller self-assigned this Sep 3, 2023
@fabian-hiller fabian-hiller added enhancement New feature or request priority This has priority labels Sep 3, 2023
@fabian-hiller fabian-hiller merged commit 8eab50e into fabian-hiller:main Sep 8, 2023
6 checks passed
@fabian-hiller
Copy link
Owner

v0.14.0 is now available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority This has priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants