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
The current implementation of lambda_http's Handler::Fut requires a Send bound, but the underlying lambda_runtime's Handler::Fut does not. Is there a reason why this bound is present? Future-proofing the API or remnant of the past perhaps? The crate still compiles (and the tests pass) after removing the bound.
Would the team be interesting in a PR with this commit.
This open up some interesting avenue too. For example, I found this issue while trying to integrate actix on top of the lambda_http crate (swaping out HttpServer with lambda_runtime::run(lambda_http::handler basically).
Thanks !
The text was updated successfully, but these errors were encountered:
Hi @fmonniot, thanks for pointing this out! This is indeed unintentional. I missed this change whenever I made the changes to remove the 'static bounds from lambda_http to match the runtime. If you want to go ahead and publish your linked commit as a PR, I would happily review it.
Hello there,
The current implementation of
lambda_http
'sHandler::Fut
requires aSend
bound, but the underlyinglambda_runtime
'sHandler::Fut
does not. Is there a reason why this bound is present? Future-proofing the API or remnant of the past perhaps? The crate still compiles (and the tests pass) after removing the bound.Would the team be interesting in a PR with this commit.
This open up some interesting avenue too. For example, I found this issue while trying to integrate actix on top of the
lambda_http
crate (swaping outHttpServer
withlambda_runtime::run(lambda_http::handler
basically).Thanks !
The text was updated successfully, but these errors were encountered: