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

tRPC-SvelteKit (community?) addon #321

Open
not-nullptr opened this issue Nov 20, 2024 · 1 comment
Open

tRPC-SvelteKit (community?) addon #321

not-nullptr opened this issue Nov 20, 2024 · 1 comment

Comments

@not-nullptr
Copy link

tRPC-SvelteKit is a tRPC implementation for Sveltekit apps. As of now, Sveltekit doesn't have an "official" way to write end-to-end typesafe APIs in the same "it-just-works" manner everything else type-related in Sveltekit does. While this still wouldn't be an official solution, I think having it as an option in sv would improve DX since Sveltekit has no such feature.

@notramo
Copy link

notramo commented Nov 26, 2024

I would recommend the tRPC fetch adapter too, it works with every SvelteKit adapter.

Also, the fetch adapter support tRPC v11 while the tRPC-SvelteKit adapter only supports v10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants