-
Notifications
You must be signed in to change notification settings - Fork 1
Update APIGatewayProxy types to better support APIGateway integration #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Hey @zfz7 thanks for noticing the issue. Not all events from that package were fully tested, so some of them might contain wrong schema description. It looks like these two fields are not used by lambda whatsoever. Looking at schema example |
I updated the schema and added a test. Could you please confirm if it works on your side? |
Thanks for looking into this, unfortunately it doesn't work quite right. I am still getting the following error
You may consider
I also lost access to Here is an example request body
|
Interesting, deploymentId seems to be not included in APIGatewayProxyRequestEvent.java as well |
Kotlin X Serialization will throw an exception if it encounters an unknown key. We can also consider setting |
Hey,
Sorry I was trying to get this in earlier (saw that you just cut a release). But I am getting some serialization errors when integrating with API Gateway. It seems like in my setup API Gateway is providing a
deploymentId
and has a nullversion
Missing
deploymentId
logs:Null
version
logs:###Testing
./gradlew build