Open tysonzero opened 2 years ago
Hey! Thanks for reporting :)
Have you tried doing a toStandaloneLambdaResponse <yourResult>
? There is a type class ToStandaloneLambdaResponseBody
that will make ByteStrings/Texts or any type that implements ToJSON
returnable from your handler
toStandaloneLambdaResponse
isn't exported by any public modules anymore.
Woops! Let's keep the conversation going in #109
I'm on an older version of this library using
runLambda
,StandaloneLambdaResult
andtoStandaloneLambdaResponse
.Now that I'm upgrading to a newer library version, I have no clue how to keep my code working.
StandaloneLambdaResponseBody
seems impossible to construct, and I need it for theStandaloneLambdaResult
constructor ofLambdaResult
.