-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Consider null value settings for types with custom conversion #4728
Conversation
return this; | ||
} | ||
|
||
return new DocumentAccessor(this.document) { |
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.
If we want to handle field write checks here, how about creating a named subclass that we would use across MappingMongoConverter
in the write paths?
Hey guys, this PR looks like it would greatly fix the issue we'd have with the recent spring boot version. I was wondering, whether any update to this is planned? If support for this issue is desired, I'd love to help :) |
This commit fixes an issue where settings regarding storage of null values had been ignored if a custom converter took care of the conversion.
This PR fixes an issue where settings regarding storage of
null
values had been ignored if a custom converter took care of the conversion.Let's do an initial round of review and check how dbrefs should be treated when there's this kind of conversion. Also, if we decide to go for it, we need to update the documentation.