toss / nestjs-aop

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

fix: #18 Each instance should have its dependencies applied correctly #19

Closed WhiteKiwi closed 1 year ago

WhiteKiwi commented 1 year ago

close #18

When attaching a value to instance[methodName][aopSymbol], the value is attached to the method in the prototype. To correctly have each instance own its own method, the value should be attached to instance[aopSymbol][methodName].