| 107 | |
| 108 | @Entity() |
| 109 | export class TC { |
| 110 | @PrimaryKey({ type: 'uuid' }) |
| 111 | id: string = v4(); |
| 112 | |
| 113 | @Property({ nullable: true }) |
| 114 | bool?: boolean; |
| 115 | |
| 116 | @ManyToOne(() => C, { nullable: true }) |
| 117 | c?: C; |
| 118 | |
| 119 | @ManyToOne(() => T, { nullable: true }) |
| 120 | t?: T; |
| 121 | |
| 122 | @OneToMany(() => A, a => a.tc, { eager: true }) |
| 123 | as? = new Collection<A>(this); |
| 124 | } |
| 125 | |
| 126 | @Entity() |
| 127 | export class A { |
nothing calls this directly
no test coverage detected