You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace duplicate occurrences of _id with FieldName.ID.name(). Shorten property names to avoid repetative "field" wording. Add Javadoc
to MongoField builder.
See #4464
Original pull request: #4512
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/DocumentPointerFactory.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MappingMongoConverter.java
+5-4
Original file line number
Diff line number
Diff line change
@@ -231,8 +231,8 @@ public CustomConversions getCustomConversions() {
231
231
}
232
232
233
233
/**
234
-
* Configure the characters dots potentially contained in a {@link Map} shall be replaced with. By default we don't do
235
-
* any translation but rather reject a {@link Map} with keys containing dots causing the conversion for the entire
234
+
* Configure the characters dots potentially contained in a {@link Map} shall be replaced with. By default, we don't
235
+
* do any translation but rather reject a {@link Map} with keys containing dots causing the conversion for the entire
236
236
* object to fail. If further customization of the translation is needed, have a look at
237
237
* {@link #potentiallyEscapeMapKey(String)} as well as {@link #potentiallyUnescapeMapKey(String)}.
238
238
* <p>
@@ -246,7 +246,8 @@ public void setMapKeyDotReplacement(@Nullable String mapKeyDotReplacement) {
246
246
}
247
247
248
248
/**
249
-
* If {@link #preserveMapKeys(boolean) preserve} is set to {@literal true} the conversion will treat map keys containing {@literal .} (dot) characters as is.
249
+
* If {@link #preserveMapKeys(boolean) preserve} is set to {@literal true} the conversion will treat map keys
0 commit comments