-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix correct parsing of collections in AmazonLambdaRecorder #40464
Fix correct parsing of collections in AmazonLambdaRecorder #40464
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I spotted something that looks a bit odd to me.
Also the tests are not passing.
...azon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/AmazonLambdaRecorder.java
Outdated
Show resolved
Hide resolved
...azon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/AmazonLambdaRecorder.java
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
46ee579
to
ecfbe08
Compare
...da/deployment/src/test/java/io/quarkus/amazon/lambda/deployment/testing/LambdaHandlerET.java
Show resolved
Hide resolved
ecfbe08
to
0886509
Compare
0886509
to
06d24d4
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is happy so let's merge this.
Thanks for your contribution!
@patriot1burke are you happy with it? If so, we can merge. |
@gsmet My reviews have not been resolved yet. |
@patriot1burke which reviews? I don't see any in this PR? Could you point me to where your comments are? |
Maybe the review was not posted by accident (the GH UI tends to make this extremely easy to happen)? |
Maybe he means this comment in the linked Issue #40349 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my reviews now?
...azon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/AmazonLambdaRecorder.java
Outdated
Show resolved
Hide resolved
...a/deployment/src/test/java/io/quarkus/amazon/lambda/deployment/testing/PersonListLambda.java
Outdated
Show resolved
Hide resolved
...azon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/AmazonLambdaRecorder.java
Show resolved
Hide resolved
...azon-lambda/runtime/src/main/java/io/quarkus/amazon/lambda/runtime/AmazonLambdaRecorder.java
Show resolved
Hide resolved
That is one of the comments. This PR is incomplete without supporting generic return type. |
@patriot1burke Now your comments are visible. Maybe tomorrow I will find some time. Not sure. Thanks. |
@patriot1burke I just pushed a new Test. Now I have a If it is a small change maybe you could do it yourself. I just want to use that feature and remove my workaround in my code :) |
1090537
to
b640031
Compare
@patriot1burke I do not give up! I just renamed the tests and added new ones. |
There's a conflict now with main. Need to resolve conflicts |
ccd7d5e
to
cd5056e
Compare
I just rebased. I cant see any conflicts. Am I missing something here? |
c4c7275
to
45fec2c
Compare
…ctionInputReader add test for abstractHandler add test for collection input and collection output rename tests for clarification what they are for
45fec2c
to
df27b36
Compare
This is really strange. Under GitHub actions I see the workflow run and it looks like it does not run. But I do not know why. |
I don't see the conflict anymore |
And merged! Thanks a lot for your efforts! |
@gsmet could we backport this to current LTS? |
+1 on backporting, but we'll also need #41896 because the test that was added with this is flaky |
test to make sure that the objectMapper parses the Input correct.
@patriot1burke thx for the hint.
I also adjusted the objectWriter but I am not sure if this is really necessary.