-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…serialization - Empty optionals were being exported as empty maps because there was no way during the export value generation to signal that null should be used as the value. Also while gathering values to put into maps null values were not being skipped. - Add more complicated examples of beans nested into each other to fully cover #55. The actual bug has been fixed during the large refactoring of #56
- Loading branch information
Showing
5 changed files
with
222 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
src/test/resources/beanmapper/nested_chat_component_complex_expected.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
message-key: | ||
color: green | ||
conditionalElem: | ||
color: orange | ||
conditionals: | ||
low: | ||
color: white | ||
conditionals: {} | ||
extra: [] | ||
text: low text | ||
med: | ||
color: gray | ||
conditionals: {} | ||
extra: | ||
- color: green | ||
extra: [] | ||
text: med child | ||
text: med text | ||
high: | ||
color: black | ||
conditionalElem: | ||
bold: true | ||
color: teal | ||
conditionals: {} | ||
extra: [] | ||
italic: false | ||
text: teal addition | ||
conditionals: {} | ||
extra: [] | ||
text: high text | ||
extra: [] | ||
text: orange extension | ||
extra: | ||
- color: yellow | ||
extra: [] | ||
text: inner1 | ||
- color: blue | ||
extra: | ||
- color: red | ||
extra: [] | ||
text: level2 text | ||
text: inner2 | ||
text: outside |