Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tafaust
Copy link

@tafaust tafaust commented Mar 17, 2024

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
Copy link
Author

tafaust commented Jun 16, 2024

@jeremybarbet ping

@franz-geiser
Copy link

UP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants