DiamondDragon
DiamondDragon
TtRPC
Created by kgni on 5/6/2024 in #❓-help
tRPC context, NeonDB & WebSockets
What did your code end looking like?
15 replies
TtRPC
Created by Max on 4/1/2024 in #❓-help
Confused by the many examples and docs of implementing trpc, next.js (app router), and clerk.
@here thanks. I have been working on a cloudflare kind of template based heavily off create-t3-turbo but seem like i'm able to use trpc both server and client side. not sure all of the specifics and things to be aware of but am learning next and trpc https://github.com/austinm911/next-expo-cloudflare-monorepo-template/tree/trpc
18 replies
TtRPC
Created by Max on 4/1/2024 in #❓-help
Confused by the many examples and docs of implementing trpc, next.js (app router), and clerk.
@Max been working on this stuff today and am also confused af
18 replies
TtRPC
Created by DiamondDragon on 1/13/2024 in #❓-help
No typesafety after migrating to 11?
I'm unable to reproduce it . I'm tracking it here but not having type issues https://github.com/austinm911/trpc-inference-issues. If i get more insight i'll try to repro it and make an issue. I also forked your pr https://github.com/austinm911/create-t3-turbo/commit/9d09f8016f3b681f64cde1a20698553e35840385 , having issues getting biome to work so not too sure
16 replies
TtRPC
Created by DiamondDragon on 1/13/2024 in #❓-help
No typesafety after migrating to 11?
Stackblitz is stuck on Node 18 so i had issues trying to use the turbo repo there. maybe ill try a normal server/client trpc repo. let me look for one
16 replies
TtRPC
Created by DiamondDragon on 1/13/2024 in #❓-help
No typesafety after migrating to 11?
yeah it's typed as any and when hovering the imports it just says "import xxx"
16 replies
TtRPC
Created by DiamondDragon on 1/13/2024 in #❓-help
No typesafety after migrating to 11?
No description
16 replies
TtRPC
Created by DiamondDragon on 1/13/2024 in #❓-help
No typesafety after migrating to 11?
16 replies
TtRPC
Created by Kranga on 7/28/2023 in #❓-help
Procedure return types are getting inferred as any
did you find a solution? @Kranga I am getting not getting type safety on a rute like this, its typed as any
export const signupRouter = router({
signupNewTeam: publicProcedure
.input(insertSignupNewTeam)
.mutation(async opts => {
return await createSignupService(opts.ctx.database).signupNewTeam(
opts.input,
)
}),
export const signupRouter = router({
signupNewTeam: publicProcedure
.input(insertSignupNewTeam)
.mutation(async opts => {
return await createSignupService(opts.ctx.database).signupNewTeam(
opts.input,
)
}),
4 replies
TtRPC
Created by DiamondDragon on 8/16/2023 in #❓-help
CORS issue with Lambda Handler (SST)
Fixed it 👍
4 replies
TtRPC
Created by DiamondDragon on 8/16/2023 in #❓-help
CORS issue with Lambda Handler (SST)
@alexkatt I saw you were in the GitHub issue linked but it seems like this problem is in the tRPC lamba handler. I have the allow origin header set in code but server is not responding with it?
4 replies
TtRPC
Created by jgoux on 4/8/2023 in #❓-help
Am I the only one struggling with pnpm + TypeScript monorepo + trpc?
No description
24 replies