Lazy load from inverse side of 1-1 relation fails #5402
Replies: 2 comments 3 replies
-
If it's
Here you are lying to the compiler, as Also unless you are using ts-morph, you are missing And one last hint, doing |
Beta Was this translation helpful? Give feedback.
-
Even when the author has a book,
A book always has an |
Beta Was this translation helpful? Give feedback.
-
I have a 1-1 relation between Author and Book.
I expect it to return
null
if the author does not have a book.I'm not sure what I'm missing? Minimum reproduction repo here: https://github.com/snigdha920/mikro-orm-1-1-relation
Beta Was this translation helpful? Give feedback.
All reactions