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

fix: support dynamic modules in CommandFactory #1229

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnnyomair
Copy link

CommandFactory.run() already supports running dynamic modules, but the type Type<any> doesn't allow passing DynamicModule.

`CommandFactory.run()` already supports running dynamic modules, but the
type `Type<any>` doesn't allow passing `DynamicModule`.
Copy link

changeset-bot bot commented Feb 12, 2025

🦋 Changeset detected

Latest commit: f2d6228

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
nest-commander Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -9,8 +9,9 @@ layout: ../../layouts/MainLayout.astro

#### @Command()

This class decorator is pretty much what everything else in this package relies on existing. This is
the decorator that sets up the sub commands for the application that are to be consumed.
This class decorator is pretty much what everything else in this package relies
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why this changes, probably related to Prettier.

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.

1 participant