ciscoheat / sveltekit-superforms

Making SvelteKit forms a pleasure to use!
https://superforms.rocks
MIT License
2.04k stars 59 forks source link

typia support #440

Open ryoppippi opened 1 month ago

ryoppippi commented 1 month ago

If you support https://typia.io/, I'm happy

ciscoheat commented 1 month ago

As mentioned in #385, Typia seems to require some extra per-project configuration, so I'm not sure it can be a simple library addition, as with the others. I'd like to see some proof-of-concept to be sure it works.

ryoppippi commented 1 month ago

Thank you! @ciscoheat

Typia seems to require some extra per-project configuration,

What do you mean?

ryoppippi commented 1 month ago

I created a vite plugin for typia. When you use typia with this plugin, you can integrate both typia and sveltekit easily.

https://github.com/ryoppippi/unplugin-typia/tree/main/examples/sveltekit