-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
feat(std): add exec method to CommandManager #7090
feat(std): add exec method to CommandManager #7090
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Your org has enabled the Graphite merge queue for merging into masterAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merge activity
|
Add `exec` to allow executing a single command without calling `chain`. Usage is shown below. ```TypeScript const result = this.std.command.exec('getBlockIndex'); console.log(result.blockIndex); ```
a666377
to
ef56926
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add som unit tests?
I've added some tests. |
Add `exec` to allow executing a single command without calling `chain`. Usage is shown below. ```TypeScript const result = this.std.command.exec('getBlockIndex'); console.log(result.blockIndex); ```
d99f571
to
176df40
Compare
Add `exec` to allow executing a single command without calling `chain`. Usage is shown below. ```TypeScript const result = this.std.command.exec('getBlockIndex'); console.log(result.blockIndex); ```
176df40
to
ba48630
Compare
## Features - toeverything/blocksuite#7075 @donteatfriedrice - toeverything/blocksuite#7090 @doouding - toeverything/blocksuite#7095 @golok727 ## Bugfix - toeverything/blocksuite#7108 @fundon - toeverything/blocksuite#7110 @donteatfriedrice - toeverything/blocksuite#7105 @regischen - toeverything/blocksuite#7064 @fundon - toeverything/blocksuite#7102 @zzj3720 - toeverything/blocksuite#7091 @zzj3720 ## Refactor - toeverything/blocksuite#7088 @Mirone ## Misc - toeverything/blocksuite#7097 @CatsJuice
Add
exec
to allow executing a single command without callingchain
. Usage is shown below.