toss / nestjs-aop

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

fix: Add warn log to request scope providers #17

Closed WhiteKiwi closed 1 year ago

WhiteKiwi commented 1 year ago

Overview

I have added a warning log for cases when using request scope providers.

In this update, I've introduced a warning log to notify users when a request scope provider is encountered. This is because LazyDecorators currently does not support request scope providers. The warning message includes the provider's constructor name (or 'Unknown' if it's not available) and informs users that request scope providers are not yet supported by LazyDecorators.