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

feat: add context in command result #6265

Merged

Conversation

Saul-Mirone
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 22, 2024 3:04am
blocksuite-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 22, 2024 3:04am

@doodlewind doodlewind added breaking Contains breaking change that must be addressed notable Major improvement worth emphasizing labels Feb 22, 2024
Copy link
Member

@doodlewind doodlewind left a comment

Choose a reason for hiding this comment

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

So I think this can be used to avoid previous pattern to pass context content via side effect assign in closure? Some code pattern can be migrated in this case.

@Saul-Mirone
Copy link
Collaborator Author

Saul-Mirone commented Feb 22, 2024

So I think this can be used to avoid previous pattern to pass context content via side effect assign in closure? Some code pattern can be migrated in this case.

Yeah, we can get it from result now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Contains breaking change that must be addressed notable Major improvement worth emphasizing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants