You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement cascading saves from a parent table to multiple child tables. The issue is that the foreign keys of the parent table are located in the child tables (as is correct in a normalized database), but TypeORM forces me to do the join from the child table, which means I can't cascade save from the parent to the children. Instead, I have to do it in the opposite direction. I'd like to know if this is a conceptual error on my part or if I'm right and TypeORM doesn't allow this type of save.
Recommended Fix
Modify the join declarations to enable cascading saves from parent to child.
Additional Context
No response
Are you willing to resolve this issue by submitting a Pull Request?
No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
The text was updated successfully, but these errors were encountered:
What was unclear or otherwise insufficient?
I'm trying to implement cascading saves from a parent table to multiple child tables. The issue is that the foreign keys of the parent table are located in the child tables (as is correct in a normalized database), but TypeORM forces me to do the join from the child table, which means I can't cascade save from the parent to the children. Instead, I have to do it in the opposite direction. I'd like to know if this is a conceptual error on my part or if I'm right and TypeORM doesn't allow this type of save.
Recommended Fix
Modify the join declarations to enable cascading saves from parent to child.
Additional Context
No response
Are you willing to resolve this issue by submitting a Pull Request?
No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
The text was updated successfully, but these errors were encountered: