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 implement Encode. I have a case where I want the message types verified for me at compile time, but a few msg_send! calls include types that do not implement Encode, 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 what msg_send! does when verify_message is disabled?
The
verify_messagefeature 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_messageis disabled?