How to access a virtual attribute from within another virtual using Mongoose
Did you try item.get('amount')
?That seems to be the explicit way of using virtuals.
Got it from this Issue:https://github.com/Automattic/mongoose/issues/2326Didn't find anything else related unfortunately.