useFactory
Closed this issue · 6 comments
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
Problems with types useFactory. All keys are optional in the config except the "httpConfig" key. This key is mandatory, but there is no information about where to get the data that needs to be placed there. There is also no information in the documentation. And the example from the documentation causes an error.
Minimum reproduction code
Steps to reproduce
No response
Expected behavior
Need to find out where to get the data for httpConfig
Package version
2.0.0
NestJS version
No response
Node.js version
No response
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response
httpConfig should not be mandatory and should be assigned defaults on construction.
will work on a fix asap
thanks for reporting
Are there any advancements?
Are there any advancements?
hopefully today
@ilyamixaltik sorry, having a busy week, its on my mind
@depyronick Nothing, I understand everything. At the moment I'm trying an older version. I hope by the time of active development you will be able to fix library