toss / nestjs-aop

A way to gracefully apply AOP to nestjs
MIT License
220 stars 24 forks source link

[BUG]: The wrap method is executed every time despite using singleton injection scope (on 2.1.1 ver) #28

Closed jinkyuhan closed 11 months ago

jinkyuhan commented 11 months ago

Describe the bug

The wrap method is executed every time despite using singleton injection scope.

Expected behavior

In the singleton injection scope, the lazy decorator should decorate only once the method.

To Reproduce

Possible Solution

Additional context