Skip to content
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

lambda-java-events support seems to be limited #19

Open
NikolayMetchev opened this issue Nov 6, 2024 · 1 comment
Open

lambda-java-events support seems to be limited #19

NikolayMetchev opened this issue Nov 6, 2024 · 1 comment

Comments

@NikolayMetchev
Copy link

The Gson config you have added only seems to support a small subset of the events defined in lambda-java-events.
For example I am trying to use com.amazonaws.services.lambda.runtime.events.IamPolicyResponseV1 and that isn't being serialized properly.
I would once again suggest you go with Jackson to avoid having to deal with every lambda event on a case by case basis.

@mfriesen
Copy link
Member

We've made some improvements in 2.5.1-SNAPSHOT (https://oss.sonatype.org/content/repositories/snapshots/com/formkiq/lambda-runtime-graalvm/2.5.1-SNAPSHOT/). This should support other events including IamPolicyResponseV1. You can try it and let us know if this works.

We won't be adding Jackson library to this as it is more than 3X the size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants