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

Command support in crux_kv and tweaks and fixes to the Command API to enable the capability migration #301

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

charypar
Copy link
Member

This adds a new module calledcommand to crux_kv which provides KV command builder constructors.

Because KV presents a different interface to the core than the protocol it has with the shell, it needs to do post-processing_ on the results. I took the opportunity to add .map to RequestBuilder and StreamBuilder. I also made some missed out parts of this API public in crux_core.

This should put is in a good place to tackle more complicated capabilities.

note: this will require a patch release of crux_core and therefore a patch release of crux_kv (and potentially all capabilities - haven't thought about that too hard)

Copy link
Member

@StuartHarris StuartHarris left a comment

Choose a reason for hiding this comment

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

❤️

@charypar charypar merged commit 81dddbb into master Jan 22, 2025
9 checks passed
@charypar charypar deleted the viktor/crux-kv-command branch January 22, 2025 17:32
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.

2 participants