Chatting with @mp911de, it would be useful for Boot to provide a configuration property for Spring Data MongoDB's BigDecimal representation as the default has changed and users may want to change it back. Providing a property will make it easier for them to do so.

Comment From: mp911de

Related ticket in Spring Data: https://github.com/spring-projects/spring-data-mongodb/issues/5037

Comment From: wilkinsona

We should probably look at https://github.com/spring-projects/spring-boot/issues/34954 before tackling this.

Comment From: HyunSangHan

Hi, I’ve noticed that spring-data-mongodb has recently changed its default for BigDecimal representation. As I understand it, spring-boot would keep that new default but provide a configuration property so that users can easily override it if they prefer the previous behavior.

I’m aware of the context on the Spring Data side. Once the issue mentioned by @wilkinsona is resolved, I’d be happy to give this a try. :)