-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add property additional-properties-as-attribute configuration #504
Conversation
Hi @ricardozanini, @hbelmiro, can you review this pull request? Edit: I forgot the documentation, could I add the documentation in |
@mcruzdev Yes, and add a link to that in README.md, please. |
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.
Thank you @mcruzdev. Looks pretty good.
I left two comments and I'll wait for the docs.
...penapi/generator/additionalproperties/QuarkusAdditionalPropertiesAsAttributeAsFalseTest.java
Show resolved
Hide resolved
deployment/src/main/resources/templates/libraries/microprofile/pojo.qute
Outdated
Show resolved
Hide resolved
Just waiting for @ayhanap's validation before merging. |
* feat: add property additional-properties-as-attribute * refactor: format the code with mvn verify * feat: create pojoAdditionalProperties.qute file * test: add integration test * test: update tests * test: add more test to make sure the issue solution * refactor: use FQN and add docs * refactor(test): add instanceOf assertion * refactor: format code
…ion (#512) * Add property additional-properties-as-attribute configuration (#504) * feat: add property additional-properties-as-attribute * refactor: format the code with mvn verify * feat: create pojoAdditionalProperties.qute file * test: add integration test * test: update tests * test: add more test to make sure the issue solution * refactor: use FQN and add docs * refactor(test): add instanceOf assertion * refactor: format code * Replaced jakarta with javax Fixed version --------- Co-authored-by: Matheus Cruz <[email protected]> Co-authored-by: Helber Belmiro <[email protected]>
Fixes: #442
When Jackson try to serialize/deserialize using a class that inherit of
HashMap
, there are some issues.On deserialization throws
MismatchInputException
and on serialization does not get plain fields.Please make sure that your PR meets the following requirements:
[0.9.x] Subject
How to backport a pull request to a different branch?
In order to automatically create a backporting pull request please add one or more labels having the following format
backport-<branch-name>
, where<branch-name>
is the name of the branch where the pull request must be backported to (e.g.,backport-quarkus2
to backport the original PR to thequarkus2
branch).Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.