aws / aws/aws-lambda-go

Cognito event version should be a number

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.8k
Forks
578
Avg merge
8h 18m
Merged PRs (30d)
1

Description

Looking at the [developer guide for lambda triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) it shows version as **a number not a string**.

Libs for other languages, e.g. TypeScript, is using number as well https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/aws-lambda/index.d.ts#L258

Is there any reason why it is a string in Go's version?

I ran into this as I was using to https://github.com/serverless/event-mocks to test my post confirm end-point.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.