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
I'm currently using fiber for my app and have a handler which will be given data passed through by a custom auth lambda. I am unable to access the lambda event from within my handler however. I'm currently using ProxyWithContextV2 to run my app, but I can't seem to find a way to extract the event data from within the handler.
And in your handler, access the requestContext using:
reqCtx := req.Context().Value(RequestContext)
@sapessi (Sorry for the direct tag) is this inteded, and if not, I could provide a fix to add the requestContext on the ProxyWithContext.
What do you think? :)
I'm currently using fiber for my app and have a handler which will be given data passed through by a custom auth lambda. I am unable to access the lambda event from within my handler however. I'm currently using ProxyWithContextV2 to run my app, but I can't seem to find a way to extract the event data from within the handler.
The text was updated successfully, but these errors were encountered: