Closed maritaria closed 7 years ago
@maritaria - can you tell how you reproduce this bug, because I think that this case should be covered by tests
Agree with @tttmaximttt. We updated a lot of tests
https://github.com/dresende/node-orm2/pull/807/commits/907400531dcb4325a87a4cecda451f7a6eadc139
so those tests that related to accessors also passed without issues.
It will be very good if you could describe in what situation you find this error, so we can look if we have something similar in other part of async functionality. Thank you
I found this because I kept missing accessors being added to the original model when enabling reverse for hasMany relations. I added some print statements to the hasMany function to see what was actually happening.
Really I didn't know how we miss this, because all tests pass and we test it I'm sure. Good job.