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! Andreas
Nick319d ago
You can add the request/response objects to the tRPC Context in createContext