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

Convert nested elements of a raw Document on write. #3887

Closed
wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

*** Draft ***

We've only been converting the first level of entries within a Document but missed the inner ones.
@christophstrobl christophstrobl linked an issue Nov 17, 2021 that may be closed by this pull request
Document document = new Document();
writeMapInternal((Map<Object, Object>) val, document, ClassTypeInformation.MAP);
BsonUtils.addToMap(bson, simpleKey, document);
continue;
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps it is better to write everything in the same style: either continue , or if .. else.

@christophstrobl christophstrobl added the for: team-attention An issue we need to discuss as a team to make progress label Sep 16, 2022
@mp911de mp911de self-assigned this Mar 6, 2023
@christophstrobl
Copy link
Member Author

we closed the related ticket and won't change the current behaviour.

@christophstrobl christophstrobl added the status: declined A suggestion or change that we don't feel we should currently apply label Mar 8, 2023
@mp911de mp911de deleted the issue/3880 branch May 17, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: team-attention An issue we need to discuss as a team to make progress status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent Conversion of LocalDate with Documents
3 participants