-
Notifications
You must be signed in to change notification settings - Fork 568
Open
Labels
bugtype/eventsissue or feature request related to the events packageissue or feature request related to the events packagetype/ux
Description
Hi Team,
APIGatewayCustomAuthorizerResponse has some thing called
Context map[string]interface{} json:"context,omitempty"
but atually it should be map[string]string only strings are accepted,
More documentation: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-output.html
so it will not create any confusion if we change this to string,
If not I tried to send some json model which throws errors
Even the example is wrong:
https://github.com/aws/aws-lambda-go/blob/main/events/README_ApiGatewayCustomAuthorizer.md,
we cant send boolean or numbers also
Metadata
Metadata
Assignees
Labels
bugtype/eventsissue or feature request related to the events packageissue or feature request related to the events packagetype/ux