You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StandaloneLambdaResponseBody seems impossible to construct #108
I'm on an older version of this library using runLambda, StandaloneLambdaResult and toStandaloneLambdaResponse.
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 the StandaloneLambdaResult constructor of LambdaResult.
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
Activity
NickSeagull commentedon Oct 27, 2021
Hey! Thanks for reporting :)
Have you tried doing a
toStandaloneLambdaResponse <yourResult>? There is a type classToStandaloneLambdaResponseBodythat will make ByteStrings/Texts or any type that implementsToJSONreturnable from your handlertysonzero commentedon Oct 27, 2021
toStandaloneLambdaResponseisn't exported by any public modules anymore.NickSeagull commentedon Oct 28, 2021
Woops! Let's keep the conversation going in #109