Skip to content

[Console] add is_enabled option to console.command tag #42679

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

Closed
wants to merge 1 commit into from
Closed

[Console] add is_enabled option to console.command tag #42679

wants to merge 1 commit into from

Conversation

chr-hertel
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets n/a
License MIT
Doc PR TODO

until now it was not possible to override the $isEnabled = true of the LazyCommand

was originally part of #42580

@ro0NL
Copy link
Contributor

ro0NL commented Aug 22, 2021

is #[AsCommand] relevant?

@chr-hertel
Copy link
Contributor Author

is #[AsCommand] relevant?

@ro0NL I don't think so

@nicolas-grekas
Copy link
Member

nicolas-grekas commented Aug 22, 2021

What's the purpose vs not putting the tag on the service?

@fabpot
Copy link
Member

fabpot commented Aug 26, 2021

@chr-hertel Any feedback regarding @nicolas-grekas's question?

@chr-hertel
Copy link
Contributor Author

Sorry, yes, we wrote about this and decided to go a different way. changed the implementation of #42580 to remove the service definition instead of using the isEnabled feature. going to close this here!

@chr-hertel chr-hertel closed this Aug 26, 2021
@nicolas-grekas nicolas-grekas added this to the 5.4 milestone Aug 26, 2021
@chr-hertel chr-hertel deleted the command-tag-enabled branch October 23, 2022 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants