Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 5 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /