hunk.code_window:         });
       }
       public static joinEagerRelations(qb: SelectQueryBuilder<any>, alias: string, metadata: EntityMetadata) {
           metadata.eagerRelations.forEach(relation => {
               const relationAlias = alias + "_" + relation.propertyPath.replace(".", "_");
               qb.leftJoinAndSelect(alias + "." + relation.propertyPath, relationAlias);
               this.joinEagerRelations(qb, relationAlias, relation.inverseEntityMetadata);
           });
       }
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:             const relationAlias = qb.connection.namingStrategy.eagerJoinRelationAlias(alias, relation.propertyPath);
  
hunk.file_path: src/find-options/FindOptionsUtils.ts
hunk.type: replace
file: import {Column, Entity, PrimaryGeneratedColumn} from "../../../src/index";
  
  @Entity("sample30_category")
  export class Category {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      constructor(name: string) {
          this.name = name;
      }
  
  }