-
Notifications
You must be signed in to change notification settings - Fork 41.2k
MongoClientFactorySupport overrides existing uuidRepresentation with MongoProperties default value #22321
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
Comments
Thanks for the report. Things have changed quite a lot in With the change of API, this turned into a For consistency, I think we should take that bean as is and not apply any properties customization to it when it is defined. Flagging for team attention to get some more feedback from the team. |
Note that the |
The feels right to me. I do wonder how many people may be relying on the current behaviour though. |
We could move all that processing to a I wonder if fixing this for |
After a team discussion, we've decided to leave this as-is for 2.3.x and make a change for 2.4.x. With Boot 2.3.x, the work-around is for users to do all configuration of For 2.4.x, we won't make any changes to a |
Original Bug Report: DATAMONGO-2561
MongoClientFactorySupport
should check if the sourceMongoClientSettings
passed tocreateClient
already define anuuidRepresentation
other thanUNDEFINED
before applying the default value fromMongoProperties
that then potentially overrides existing settings.The text was updated successfully, but these errors were encountered: