Closed natanielkdias closed 7 years ago
I guess this is because you are using nullable: true
in your relations. Don't use this in relations because it can bring problems during persistence of the complex object graphs.
have you resolve your issue?
Hi,
Sorry for being late. But yes I solved it. But now I'm having that issue on other situation. When I remove some item on a "@OneToMany" array the error is thrown, The type orm try to set null on the foreign key field. Is there some configuration to delete this orphan item instead of set null?
Please create a separate issue with detailed description of your issue.
Hi, I'm having an issue when I try to persist an object which has an array to save together.
Below, Here is my entity structure:
Here is my persist method:
And here is the error:
May someone help me please? Thanks in advance.