Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Console] Simplify using invokable commands when the component is used standalone#60394
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.4
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
So we really need the extra method addInvokable() or could we handle this automatically? |
We cannot widen the argument type in |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
e07ce18
to5cf2a0d
CompareWe could remove it and handle it internally, couldn't we? Do we need to adjust addCommands() method as well? |
Cool, thanks for working on this.
@OskarStark If you mean removing the type declaration then it's a BC break too unfortunately, seehttps://3v4l.org/5dhmc. I'd prefer the invokable concept not to leak into public API though. What about adding |
5cf2a0d
to758b85e
Compare758b85e
to2a19b9b
Compare
@chalasr I've made the changes you requested, please let me know what you think. |
Inspired by#60389 (comment) .
This PR enables using invokable command when the component is used standalone: