DEV Community

Discussion on: How to create a custom many to many relationship in TypeORM

Collapse
 
crazyoptimist profile image
crazyoptimist

In the HeroSkills class, isn't it JoinColumn instead of JoinTable?

Collapse
 
kanelv profile image
Cuong Le

And why the relation is @OneToOne instead of @ManyToOne?