brillout / telefunc

Remote Functions. Instead of API.
https://telefunc.com
MIT License
688 stars 31 forks source link

svelte problem. #127

Closed ohbob closed 1 week ago

ohbob commented 1 week ago

if files are not in the $lib/server/ folder, then they are shipped to the client, so if you got any db connections, they would be exposed to the client, right?

brillout commented 1 week ago

Have you tried? In principle and I'm fairly confident they aren't shipped to the client.

brillout commented 1 week ago

ps, could not find any examples of svelte5, maybe there are some knowns?

Contribution welcome to update https://github.com/brillout/telefunc/tree/main/examples/svelte-kit.