Closed
Description
I have document as below
{
"att1": 32,
"att2": 36,
"properties" :{
"att3" : "str1",
"att4": "str2"
}
I am passing type as BaseDocument.class in arango query
<T> ArangoCursor<T> query(String query, Class<T> type, Map<String, Object> bindVars, AqlQueryOptions options);
Earlier in 6.x . retrieving att3 was done as below
(String) ((HashMap<String, Object>)baseDocument.getAttribute("properties")).get("att3"))
Now in 7.X basedocument is flattened in returned basedocument and I have to retrieve att3 as below whereas i was expecting it to work as before matching my arango document structure
(String) (baseDocument.getAttribute("att3"))