- iterate codegen for composite entities