Open TheBous opened 2 years ago
many-to-one don't need @JoinColumn
Even if i remove @JoinColumn, it does not work :(
Even if i remove @joincolumn, it does not work :(
not set cascade: true at Many-to-one in Account
I have the same problem, any way to solve this?
Where you able to fix it? Same problem
Any new about this topic? same problem
Issue Description
Expected Behavior
When I create a relation OneToMany - ManyToOne between 2 entities I expect to find a valorized foreign key in the ManyToOne table.
Actual Behavior
In the actual behaviour, the row is inserted but with FK = null;
Steps to Reproduce
You only need to create 2 entities like above and try to insert a row in Account table.
My Environment
NodeJS 16, NestJS 8, TypeORM 0.2.40
Are you willing to resolve this issue by submitting a Pull Request?