Use SourceGeneratorLambdaJsonSerializer for AspNetCoreServer functions #1720
Labels
feature-request
A feature should be added or improved.
module/aspnetcore-support
p2
This is a standard priority issue
queued
Describe the feature
Currently reflection-based DefaultLambdaJsonSerializer is used for AspNetCore functions. But since we know for sure which types (HttpApi/RestApi/LoadBalancer) are going to be used there, probably it makes sense to use source-generated SourceGeneratorLambdaJsonSerializer.
Use Case
Improved performance (especially cold-start) and better AOT compatibility.
Acknowledgements
The text was updated successfully, but these errors were encountered: