AWS Lambda / How to set Cookies inside Procedures
How can I set and remove cookies similar to ctx.res.cookie(..) with Express when using the aws lambda adapter.
My configuration is:
* node 18
* tRPC 10
* aws lambda adapter / APIGatewayProxyEventV2
I do not need CORS - I only need to write/delete Cookies
I tried
awsLambdaRequestHandler
but was not able to access anything I added to context in my procedure to be visible there.
Thank you for the support and this great tool!
AndreasN
Nick•320d ago
You can add the request/response objects to the tRPC Context in createContext
4.8KMembers
View on DiscordMore Posts
Massive Type Errors on tRPC 10 Legacy Router against MergeRouterWe're trying to upgrade to tRPC 10 but I am running into a massive type clash when trying to merge rIs it possible to create 2 routers inside a single file?I am having an issue in which it is impossible to me to use a class instance within 2 routers. I triUse onError to change an application error into a TRPCError?I want to use the onError handler to change any instance of a custom application error into a TRPCErIncreasing Body 1mb limitHey, Im trying to build an application that allows sending of base64 encoded files to my next.js serNitro and tRPC in vercel-edgeHey there! I hope this is the right place to ask for help.
I am trying to deploy an application witHow to retrieve and receive Bigint data to/from TRPC procedureNode: `v16.15.1`
I'm trying to return an object which contains an `amount` property from one of my