Skip to content

Commit 60fc1a3

Browse files
committed
wip
1 parent b5e7b33 commit 60fc1a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/main/java/com/arangodb/internal/serde/MultiDocumentEntityDeserializer.java

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public MultiDocumentEntity<?> deserialize(JsonParser p, DeserializationContext c
5252
throw new JsonMappingException(p, "Expected FIELD_NAME but got " + p.currentToken());
5353
}
5454
String fieldName = p.getText();
55+
// FIXME: this can potentially fail for: MultiDocumentEntity<T> getDocuments()
56+
// fix by scanning the 1st level field names and checking if any matches:
57+
// - "_id"
58+
// - "_key"
59+
// - "_rev"
5560
switch (fieldName) {
5661
case "_id":
5762
case "_key":

0 commit comments

Comments
 (0)