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
We have a shared schema which gets referenced by several models. Whenever this schema is part of a discriminated model, the getters do not get called for lean queries.
If the current behavior is a bug, please provide the steps to reproduce.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
We have a shared schema which gets referenced by several models. Whenever this schema is part of a discriminated model, the getters do not get called for lean queries.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
The getters should be called
What are the versions of Node.js, mongoose-lean-getters, and Mongoose are you are using? Note that "latest" is not a version.
Node: v20.12.2
mongoose: v8.5.0 (also v7.7.0)
mongoose-lean-getters: v2.1.0
The text was updated successfully, but these errors were encountered: