How to using ApiConfigService in DTO class?
vietlait opened this issue · 1 comments
vietlait commented
I want to use the ApiConfigService to get some environment variables at the constructor of DTO classes.
But when injecting in the constructor it doesn't work.
What should I do?
NarHakobyan commented
@vyvian1712 you cannot inject services into DTO class.