Closed destructor465 closed 3 years ago
If I try to import service it throws:
Nest can't resolve dependencies of the UrlGeneratorService (?, ApplicationConfig). Please make sure that the argument UrlGeneratorModuleOptions at index [0] is available in the UrlGeneratorService context.
Sorry, my mistake.
Yeah there is an error, I may have to look into it.
I just made a quick fix.
c4f0d9503be1bdbc5364b4a6c267819a267c39af
You can update to the latest version 0.0.5
Thanks, it works now.
Hello,
At the moment you have to import
UrlGeneratorModule.forRoot/forRootAsync
for each module you're using it in. Would it be possible to import it usingforRoot/forRootAsync
once in likeAppModule
and then in all child modules import it adding simpleUrlGeneratorModule
to the imports list, so you don't have to configure it every time.