spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

GH-4873: Use JsonWriterSettings(SHELL) for MongoTemplate logging

Open parazit-IR opened this issue 1 month ago • 0 comments

This PR addresses #4873 by using JsonWriterSettings with JsonMode.SHELL in SerializationUtils so that ObjectId values in MongoTemplate/ReactiveMongoTemplate DEBUG logs are rendered as ObjectId("…") instead of {"$oid":"…"}.

parazit-IR avatar Dec 04 '25 18:12 parazit-IR