Closed nicktrienensfuzz closed 1 year ago
Patch coverage: 100.00
% and project coverage change: -0.08
:warning:
Comparison is base (
536cf5d
) 85.49% compared to head (cf1f985
) 85.41%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Use the
context.http.path
value, which is set when using catchall routes in the serverless file.catchall routes in the serverless file
From testing it seems like the
routeKey
is only fully set if the path is defined in the serverless file, since the code isn't using the stage portion of the routeKey anyway I'd suggest using the more standard path. Worth noting thatAPIGatewayRequest
is already using the path property.In the case of catchall paths you can see the incoming request as logged to cloudwatch here