Skip to content

Feature request: create BaseRouter with base methods #3971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
dreamorosi opened this issue May 23, 2025 · 0 comments · May be fixed by #3972
Open
1 of 2 tasks

Feature request: create BaseRouter with base methods #3971

dreamorosi opened this issue May 23, 2025 · 0 comments · May be fixed by #3972
Assignees
Labels
confirmed The scope is clear, ready for implementation event-handler This item relates to the Event Handler Utility feature-request This item refers to a feature request for an existing or new utility

Comments

@dreamorosi
Copy link
Contributor

dreamorosi commented May 23, 2025

Use case

As part of the Event Handler implementation (#3251) we should implement a base class that will be shared by all resolvers (API Gateway REST, HTTP, ALB, etc.) and that allows customers to register routes according to the RFC #3500.

Solution/User Experience

The implementation should follow the RFC in terms of DX and APIs while also being aligned with the implementation in the Powertools for AWS Lambda (Python) repo.

To avoid refactoring down the line, for now we'll implement only a few base methods (i.e. get and post) and minimal configuration options. Follow up issues will cover other methods and missing options.

Alternative solutions

N/A

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

@dreamorosi dreamorosi self-assigned this May 23, 2025
@dreamorosi dreamorosi added feature-request This item refers to a feature request for an existing or new utility confirmed The scope is clear, ready for implementation event-handler This item relates to the Event Handler Utility labels May 23, 2025
@dreamorosi dreamorosi moved this from Triage to Working on it in Powertools for AWS Lambda (TypeScript) May 23, 2025
@dreamorosi dreamorosi linked a pull request May 23, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed The scope is clear, ready for implementation event-handler This item relates to the Event Handler Utility feature-request This item refers to a feature request for an existing or new utility
Projects
Status: Working on it
Development

Successfully merging a pull request may close this issue.

1 participant