LambdaBootstrapBuilder documentation is wrong / misleading #1830
Labels
documentation
This is a problem with documentation.
module/lambda-client-lib
needs-investigation
p2
This is a standard priority issue
Describe the issue
https://docs.aws.amazon.com/lambda/latest/dg/csharp-handler.html has a section which has the following
This is incorrect because the handler will be treated as not having a response type (will just be treated as Task) and the response will not serialized back to the api gateway. This then leads to a malformed response exception which is incredibly hard to diagnose. TBH the code allows for this behaviour a bit too readily.
Anyway the documentation should include the response type as a generic to work correctly...
Links
https://docs.aws.amazon.com/lambda/latest/dg/csharp-handler.html
The text was updated successfully, but these errors were encountered: