generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
While the default behavior for the TRPC API is to have one lambda per API endpoint, it's common to only have a single lambda proxy handler for the API, reducing the infrastructure overhead and centralizing the API. There is instructions on how to achieve this within the documentation by editing the generated API construct. But it would be great to:
- Be able to vend this with an option without requiring additional changes to support this behavior.
- Fix the policy overload issue caused by this code here where the single handler function policy becomes too large ones a set amount of API endpoints has been reached.
Motivation
I personally have a strong preference for these sorts of API's to be single proxy functions, and very much dislike having 50+ individual lambdas for a single API. I would appreciate it being officially supported.
Suggested Implementation
No response
Contribute to feature
- I'd be willing to implement this feature
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request