iap icon indicating copy to clipboard operation
iap copied to clipboard

feat(nest-iap): use configurable module builder to have forRoot{,Async} methods

Open tafaust opened this issue 11 months ago • 2 comments

Why this PR?

I wanted to use this library in a production grade setting with ConfigService and Joi for config validation. With the forRoot method of the existing solution, I have no chance to pass the config from my ConfigService to the IAPModule.forRoot(... here be values from config service...).

The configurable module builder creates the forRoot and forRootAsync methods for us and we have to do less tedious work ourselves in the same go.

tafaust avatar Mar 17 '24 19:03 tafaust

@jeremybarbet ping

tafaust avatar Jun 16 '24 13:06 tafaust

UP

franz-geiser avatar Aug 07 '24 14:08 franz-geiser