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

Add extraProviders also to forRootAsync #2387

Open
1 task done
SmallhillCZ opened this issue Jan 8, 2025 · 1 comment
Open
1 task done

Add extraProviders also to forRootAsync #2387

SmallhillCZ opened this issue Jan 8, 2025 · 1 comment
Labels

Comments

@SmallhillCZ
Copy link

SmallhillCZ commented Jan 8, 2025

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

It's the same issue as #495, but for forRootAsync()

Describe the solution you'd like

I tried to implement it in datageo-cz/bull@afd6f5c, but I end up with following error, which is there even if I revert my changes, so it's probably unrelated, but can't test if it works.

Error: Nest can't resolve dependencies of the BullExplorer (?, DiscoveryService, BullMetadataAccessor, MetadataScanner). Please make sure that the argument ModuleRef at index [0] is available in the BullModule context.

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

Using global config from injected Config in the global forRootAsync()

@kamilmysliwiec
Copy link
Member

Would you like to create a PR for this issue?

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

No branches or pull requests

2 participants