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

Valibot superForm Client params type not compatible #505

Closed
narahunter13 opened this issue Nov 7, 2024 · 6 comments
Closed

Valibot superForm Client params type not compatible #505

narahunter13 opened this issue Nov 7, 2024 · 6 comments
Labels
adapter Related to validation adapters next Will be implemented in the next release

Comments

@narahunter13
Copy link

image

@narahunter13 narahunter13 added the bug Something isn't working label Nov 7, 2024
@holdmybeer30
Copy link

add the imports and schema definition

@narahunter13
Copy link
Author

Params in valibot is SupportSchemas. But, the schema return object valibot. I have added 'import' and the schema

@holdmybeer30
Copy link

holdmybeer30 commented Nov 7, 2024

Params in valibot is SupportSchemas. But, the schema return object valibot. I have added 'import' and the schema

It wasn't a suggestion, I meant you to show us the schema definition and how you imported everything to make sure it matches :D
post the entire code, more info about this

@NaviTheCoderboi
Copy link

image

i also getting such error
image

@ciscoheat
Copy link
Owner

Valibot is beta, and have had at least two type changes during this last year, that's why this happens. I hope it can be released in a stable version soon. I'll update its dependency to the latest version in the next Superforms update.

@ciscoheat ciscoheat added next Will be implemented in the next release adapter Related to validation adapters and removed bug Something isn't working labels Nov 9, 2024
@ciscoheat
Copy link
Owner

@NaviTheCoderboi can you post the schema you're getting an error with here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapter Related to validation adapters next Will be implemented in the next release
Projects
None yet
Development

No branches or pull requests

4 participants