You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some AWS lambdas are invoked via custom authorizers and they have the type APIGatewayProxyWithLambdaAuthorizerEvent<TAuthorizerContext>. With the current 'aws:apiGateway' eventType, setting up something like this:
Type '{ authorizer: { user: string; }; }' is missing the following properties from type 'APIGatewayEventRequestContextWithAuthorizer<APIGatewayEventDefaultAuthorizerContext>': accountId, apiId, protocol, httpMethod, and 7 more.
Some AWS lambdas are invoked via custom authorizers and they have the type
APIGatewayProxyWithLambdaAuthorizerEvent<TAuthorizerContext>
. With the current'aws:apiGateway'
eventType, setting up something like this:... results in this
TypeScript
error:I wonder if it would make sense to either
DeepPartial
onbody
to allow for nestedrequestContext
.'aws:apiGatewayWithCustomAuthorizer'
.I like
Option 2
better because of it being hyper clear about what it is doing.The text was updated successfully, but these errors were encountered: