No replacement for the @LambdaFunction and LambdaInvokerFactory? #2587
Labels
1.x Parity
feature-request
A feature should be added or improved.
p2
This is a standard priority issue
Expected Behavior
One of the great API improvements provided by the v1 SDK was the LambdaInvokerFactory, which handled so much of the marshalling when directly invoking a Lambda.
There seems to be no v2 replacement that I can find, and nothing is mentioned in the 1.11 to 2.0 changelog which is surprising for something that completely disappeared.
Current Behavior
There is no corollary to the
@LambdaFunction
andLambdaInvokerFactory
set of API utilities.Possible Solution
Re-implement those utilities.
Context
The amount of boilerplate significantly increases when attempting to call Lambda. This is especially apparent when writing functional tests, where the actual details of invoking a Lambda are not relevant to actually testing that Lambda.
Your Environment
The text was updated successfully, but these errors were encountered: