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

Export ClientValidationAdapter in 'sveltekit-superforms/adapters' #488

Closed
bfovez opened this issue Oct 4, 2024 · 3 comments
Closed

Export ClientValidationAdapter in 'sveltekit-superforms/adapters' #488

bfovez opened this issue Oct 4, 2024 · 3 comments
Labels
enhancement New feature or request next Will be implemented in the next release

Comments

@bfovez
Copy link

bfovez commented Oct 4, 2024

In a effort to factorize some code, I would need to pass a ValidationAdapter (server-side) or a ClientValidationAdapter (client-side) to a function.
Unfortunately, it seems that ClientValidationAdapter is not exported in 'sveltekit-superforms/adapters' (contrary to ValidationAdapter).
Is it possible to export ClientValidationAdapter in 'sveltekit-superforms/adapters'?

@bfovez bfovez added the enhancement New feature or request label Oct 4, 2024
@ciscoheat ciscoheat added the next Will be implemented in the next release label Oct 5, 2024
@ciscoheat
Copy link
Owner

Sure, I'll add that for the next release.

@bfovez
Copy link
Author

bfovez commented Oct 5, 2024

Many thanks!

@ciscoheat
Copy link
Owner

Added now in 2.19.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next Will be implemented in the next release
Projects
None yet
Development

No branches or pull requests

2 participants