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

graal: more TypeHint.AccessTypes for Lambda Events #1757

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Conversation

sdelamo
Copy link
Contributor

@sdelamo sdelamo commented Jun 7, 2023

To solve errors when deploying a GraalVM Native Image with jackson databind to a Lambda custom runtime.

io.micronaut.http.client.exceptions.HttpClientResponseException: 
Error decoding HTTP response body: 
    Error decoding JSON stream for type [APIGatewayProxyRequestEvent]: 
Cannot construct instance of `com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent`: 
  cannot deserialize from Object value (no delegate- or property-based Creator): this appears to be a native image, in which case you may need to configure reflection for the class that is to be deserialized

@sonarcloud
Copy link

sonarcloud bot commented Jun 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@timyates timyates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to have a test-suite-native so this can be checked in this module?

@sdelamo
Copy link
Contributor Author

sdelamo commented Jun 7, 2023

Would be good to have a test-suite-native so this can be checked in this module?

Yes, we have to move native test into this module

@sdelamo sdelamo merged commit 6b77ced into master Jun 7, 2023
@sdelamo sdelamo deleted the add-typehint branch June 7, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants