Skip to content

Instantly share code, notes, and snippets.

@berinle
Created January 4, 2012 20:33
Show Gist options
  • Save berinle/1561991 to your computer and use it in GitHub Desktop.
Save berinle/1561991 to your computer and use it in GitHub Desktop.
GeDA flattened transformation (limitation)
class A {
String name;
List<B> bees;
}
class B {
String name;
Integer foo;
}
//CANNOT have this kind of flattened structure with GeDA
class ADto {
String name;
List<String> nestedBNames;
List<Integer> nestedBFoos;
}
//It expects me to do
class ADto {
String name;
List<BDto> listOfB;
}
class BDto {
String name;
Integer foo;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment