-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add separate macro for msg_send! that does not verify message types #121
Comments
I'd argue no, for several reasons:
(I've made all of these changes in my fork Instead, when calling methods with arguments that don't implement
|
(In your case, that would be implementing |
You are completely right! This was an oversight from me. I did a quick code cleanup and did not realize |
The
verify_message
feature is awesome! Sadly when you enable it all messages must pass the verification. This also adds the requirement that all messages implementEncode
. I have a case where I want the message types verified for me at compile time, but a fewmsg_send!
calls include types that do not implementEncode
, as a result I must opt out of all message verification.I can manually verify messages. But that is cumbersome, and eventually a developer will forget to do it, skipping the safety checks.
Can we add a separate
msg_send_unverified!
that is always identical to whatmsg_send!
does whenverify_message
is disabled?The text was updated successfully, but these errors were encountered: