LambdaStartupAttribute summary does not match documentation #2065
Labels
documentation
This is a problem with documentation.
p2
This is a standard priority issue
pr/ready-to-merge
This PR is ready to be merged.
Describe the issue
In the latest documentation ref: https://github.com/aws/aws-lambda-dotnet/blob/master/Libraries/src/Amazon.Lambda.Annotations/README.md
It is stated that recommended way of using LambaStartupAttribute is to use ConfigureHostBuilder
Example startup class using the recommended ConfigureHostBuilder
And for legacy cases to use ConfigureServices
For legacy support, you can still use the ConfigureServices method
In the LambdaStartupAttribute summary only the legacy way is described, ref:
I have attached #2064 PR with the suggested fix.
Links
https://github.com/aws/aws-lambda-dotnet/blob/master/Libraries/src/Amazon.Lambda.Annotations/LambdaStartupAttribute.cs
Lines 5-12.
The text was updated successfully, but these errors were encountered: