-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema.loadClass overwrite methods from inherited class #8892
Comments
Merged
2 tasks
vkarpov15
added a commit
that referenced
this issue
May 12, 2020
…ator-key add test case to assert #8892
vkarpov15
added a commit
that referenced
this issue
Jan 18, 2021
Confirmed that this is already fixed, added a test in #8892 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
bug
What is the current behavior?
if an class extends another class and has the same names for something like an getter / setter, then the bottom-most class's getter / setter is used
If the current behavior is a bug, please provide the steps to reproduce.
(Typescript)
What is the expected behavior?
to use the top-most class's getter/setter-
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
mongoose: 5.9.10
typescript: 3.8.3
nodejs: 12.16.2
The text was updated successfully, but these errors were encountered: