-
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
Adds processor to annotation JsonAutoDetect #20784
Adds processor to annotation JsonAutoDetect #20784
Conversation
26e090a
to
3367a93
Compare
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
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.
One small change and this should be good
extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java
Outdated
Show resolved
Hide resolved
extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java
Outdated
Show resolved
Hide resolved
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 3a8d65a
Failures⚙️ Initial JDK 11 Build #- Failing: extensions/jackson/deployment
! Skipped: core/test-extension/deployment devtools/bom-descriptor-json devtools/cli and 337 more 📦 extensions/jackson/deployment✖ |
You need to format the code |
When you are done, please squash the commits |
* Fixs imports * Fixs of code review * Fixs variable name * Adds validation if target is a class * Fixs format the code
cc55789
to
6a58ff9
Compare
@geoand, sorry about format :/ I've fixed the formatting and squash, Thanks |
This pr adds the processor to Jackson
JsonAutoDetect
annotation (currently needed for records usage);Bug:
This error happens in the endpoint's response serialization (mode native):
How to Reproduce?
clone repository
git clone https://github.com/netodevel/money-transfer-service
build native image
mvn clean install -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-native-image:21.2.0-java16 -DskipTests
run postgresql local
docker-compose up -d
execute binary
./target/money-transfer-service-1.0.0-SNAPSHOT-runner
** execute request **
[POST] url: http://localhost:8080/api/money-transfer