toss / nestjs-aop

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

feat: #7 Ensure the order of decorating the aop decorator #10

Closed WhiteKiwi closed 1 year ago

WhiteKiwi commented 1 year ago

Overview

I solved this issue by decorating it first and then injecting Lazy fn. Decorate the method in the createDecorator first, and if there is a wrapper injected later, wrap it and use it.

Nestjs 9 is now available.