Using Cluster.query() I'm parsing the result into classes that have child object.
A quick exemple to visualise :
@Data
public class A {
String someProp;
SubA nestedObject;
@Data
public static SubA() {
String someNestedProp;
}
}
Doing converter.read(A.class, document) leads to nestedObject being a HashMap<String, String> instead of a SubA as anyone would expect. Am I doing this wrong or are my expectations correct ?