Skip to content

Add separate macro for msg_send! that does not verify message types #121

@faern

Description

@faern

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions