-
Notifications
You must be signed in to change notification settings - Fork 91
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
Improve attach_
and detach_method_relationships
in wasm bindings
#775
Conversation
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.
Well that's convenient!
account | ||
.borrow_mut() | ||
.update_identity() | ||
.attach_method_relationship() |
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.
The Rust name is still singular, do we want to keep it that way or switch to attach/detach_method_relationships
? Probably fine either way.
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.
Since the singular methods are still available, I just left it as is.
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.
Looks good to me. Fix the PR title.
attach_
and detach_method_relationships
in wasm bindingsattach_
and detach_method_relationships
in wasm bindings
Description of change
Use the
attach_method_relationships
instead ofattach_method_relationship
, in the wasm bindings. The same fordetach_method_relationship
.The original issue #654 included pluralizing the method name, but it turned out that the current implementation already includes both forms,
attach_method_relationships
andattach_method_relationship
(The same fordetach
).Links to any relevant issues
fixes issue #654
Type of change
Add an
x
to the boxes that are relevant to your changes.