SourceGeneratorLambdaJsonSerializer documentation for AddAWSLambdaHosting is not clear #1817
Labels
documentation
This is a problem with documentation.
module/lambda-client-lib
needs-reproduction
This issue needs reproduction.
p2
This is a standard priority issue
Describe the issue
After turning on
PublishTrimmed
, I noticed this line is throwing an error:builder.Services.AddAWSLambdaHosting(LambdaEventSource.HttpApi);
In another case, the instructions were clear:
await LambdaBootstrapBuilder.Create(handler, new SourceGeneratorLambdaJsonSerializer<MyContext>()).Build().RunAsync();
See this summary. I was able to provide a custom context with the required request/response types.
So, in the first case, how should we provide a custom context?
Links
SourceGeneratorLambdaJsonSerializer
The text was updated successfully, but these errors were encountered: