OneToOne relation with wrong UML arrows
hugoseabra opened this issue · 3 comments
hugoseabra commented
Good job on the project @eugene-manuilov .
I appreciate you check OneToOne
relations. The arrows in diagram behave like ManyToOne
relation.
Example:
@OneToOne(() => StandardName, {
eager: true,
onDelete: "SET NULL"
})
@JoinColumn()
standardName!: StandardName;
In UML I have:
Actually the arrows should be -|---------
eugene-manuilov commented
Thanks for submitting it, @hugoseabra! I have fixed it and published the new version 1.6.1
. Could you please update it on your end and try it out? Let me know if it works correctly now.
eugene-manuilov commented
Ok, I think this can be considered as resolved. Closing this ticket. Feel free to open a new one if something doesn't work.
hugoseabra commented
Yes, correctoin applied in 1.6.1
.
Thanks @eugene-manuilov !!!