maddest
maddest
TtRPC
Created by maddest on 2/23/2024 in #❓-help
Unable to use caller, in frontend bcz i dont have access to req and res objects
I wanted to call the same apis in server components, how can i do it? Other than from server actions, Also i am on the app router, Any work around please? Please feel free to tell me if i am doing something wrong in making the context
3 replies
TtRPC
Created by maddest on 12/23/2023 in #❓-help
trpc openapi does not work on app router
is createOpenApiNextHandler limited to pages router or am i doing doing something wrong in implementing that to app router?
3 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
got it 👍 , thanks for your time i raised the pr, please let me know if there is something..
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
No description
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
okay on it
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
yeah i would be very happy to fix this by raising a pr,
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
should i close that issue or comment there that person should have noImplicitOverride field should not be set to true in their tsconfig unless then are using ts version <=4.2
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
oh shi-, that did fixed it, thanks it literally saved me several hours of works finding work around and module argumenting this
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
i raised the issue on trpc repository
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
that to i know of, tsconfig has been same since my last push but what instead i have done is just made a seperate trpc package outside my api package (which just had enpoint logics)
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
node is 20 typescript , 5.3.3 on doing some searching found that typescript after some 4.2.4 version introduced some change related to this, idk have any idea, but giving as much details i can
23 replies
TtRPC
Created by maddest on 12/20/2023 in #❓-help
TRPCError class, public readonly cause?: Error; this line should have override function
No description
23 replies