ferdy
Explore posts from serverstrpc + AWS Lambda (through cdk)
some better examples: https://snyk.io/advisor/npm-package/@aws-cdk/aws-lambda-nodejs/functions/@aws-cdk%2Faws-lambda-nodejs.NodejsFunction
55 replies
TTCTheo's Typesafe Cult
•Created by ferdy on 4/24/2023 in #questions
Nested keyof
ok looks like I can get what i want using lodash: https://lodash.com/docs/4.17.15#set
(problem being that indexing into an object with a nested property can't be done like
obj["a.b.c"]
)
gonna mark as solved2 replies
trpc + AWS Lambda (through cdk)
it definitely could be an apig oddity, though I can see it in the console returning the json response correctly. Maybe I need to find somewhere in between that I can inspect to see where that response is getting lost... Like a debug log from the trpc client or something
55 replies