Skip to content

Automatic Typing for Default Message Detailer #2514

@iamtrask

Description

@iamtrask

Is your feature request related to a problem? Please describe.
At present, the default detailer for Message (an abstract type) returns an object of type Message instead of returning an object of the correct type.

Describe the solution you'd like
Use the msg_tuple[0] to look up the correct type.

Describe alternatives you've considered
Return NotImplementedException instead and require all Message types to have their own detailers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Stale 🍞Been open for a while with no activityType: New Feature ➕Introduction of a completely new addition to the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions