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
If you explicitly define the `UserVirtuals` interface, you should define your virtuals using `schema.virtual()` as shown above.
91
-
We recommend `schema.virtual()` over the `virtuals` option to the Schema constructor shown in the "Automatically Inferred Types" section because the `virtuals` option won't allow you to access other virtuals on `this`.
91
+
We recommend `schema.virtual()` over the `virtuals` option to the Schema constructor shown in the Automatically Inferred Types section above because the `virtuals` option won't allow you to access other virtuals on `this`.
0 commit comments