Skip to content

(http-event-normalizer): API Gateway Event v2 is not accepted #1589

@marcoreni

Description

@marcoreni

Describe the bug
Types for http-event-normalizer assume that the event will be an Api Gateway V1 Proxy Event.

However, we could also have an API Gateway V2 Proxy event, and this would not be accepted by types declarations.

I'm not sure if this issue is spread over other plugins as well.

Expected behaviour
Both versions should be accepted

Environment (please complete the following information):

  • Node.js: 22
  • Middy: latest
  • AWS SDK: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions