Skip to content

Can we use different event type? Now strict to APIGatewayEvent #69

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

Closed
Gabiras12 opened this issue May 8, 2022 · 2 comments
Closed

Can we use different event type? Now strict to APIGatewayEvent #69

Gabiras12 opened this issue May 8, 2022 · 2 comments
Labels
enhancement New feature or request help wanted This issue is ready for contributing a PR stale Stale issues and PRs will be closed automatically

Comments

@Gabiras12
Copy link

Gabiras12 commented May 8, 2022

Thanks for this libary.

Can we use a different lambda event type?
I would like to have the event as APIGatewayProxyEventV2WithJWTAuthorizer for example.

Thanks

@Gabiras12 Gabiras12 added the bug Something isn't working label May 8, 2022
@dbartholomae dbartholomae added enhancement New feature or request help wanted This issue is ready for contributing a PR and removed bug Something isn't working labels May 8, 2022
@dbartholomae
Copy link
Owner

Hi! Thanks for reaching out! I'm open to PRs around this. The original approach I tried was using TypeScript generics, but unfortunately TypeScript doesn't yet possess enough capabilities to correctly handle them in these situations:
#36 (comment)

I'm open to other ideas how to solve this, though.

@github-actions
Copy link

github-actions bot commented Jul 8, 2022

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Stale issues and PRs will be closed automatically label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted This issue is ready for contributing a PR stale Stale issues and PRs will be closed automatically
Projects
None yet
Development

No branches or pull requests

2 participants