Skip to content

lib/msgpackrpc: Require a name when binding callables. #8

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

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

iabdalkader
Copy link
Collaborator

This change adds a required name argument to MsgPackRPC.bind() to avoid any ambiguity when binding multiple instances of the same class for example. Additionally, bind() now supports binding whole objects, by binding all of their public methods using their respective qualified names.

@iabdalkader iabdalkader force-pushed the msgpackrpc_api_update branch 2 times, most recently from 1990f24 to a660cb6 Compare April 11, 2024 14:55
This change adds a required `name` argument to `MsgPackRPC.bind()` to avoid
any ambiguity when binding multiple instances of the same class for example.
Additionally, `bind()` now supports binding whole objects, by binding all of
their public methods using their respective qualified names.

Signed-off-by: iabdalkader <[email protected]>
@iabdalkader iabdalkader force-pushed the msgpackrpc_api_update branch from a660cb6 to 932c256 Compare April 11, 2024 15:00
@iabdalkader iabdalkader merged commit 8942475 into main Apr 11, 2024
@iabdalkader iabdalkader deleted the msgpackrpc_api_update branch April 11, 2024 15:03
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.

1 participant