Skip to content

Consider allowing media_type! macro to accept Names defined outside the names module #11

@grodin

Description

@grodin

The media_type! macro is very convenient, but you can only use it with Names that come from the built-in names module. It would be even more convenient if you could use it with Names that you've defined yourself.

It's easy to work around of course, but thought I'd raise it as an issue anyway.

I haven't worked on macros before, but if you'd accept a PR, this is probably a good little thing to get me started.

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