Skip to content

[Feature request] Add ability to register a custom handler #108

@mansona

Description

@mansona

Howdy folks 👋

I've seen a few people suggest custom handlers in issues, and some of them are good ideas but I can understand the reluctance to add more and more entries to a global switch case that has all possible handlers.

I was wondering if you were open to a modification to that code path that allowed you to specify a customHandler so that we could implement our weird and wonderful ideas as either a simple function passed in as the handler value, or some other way that might allow you registerDeprecationHandler in an addon so that it would work automatically?

I can see a few ways that I might implement something like this but I thought it was better to ask before spending any time on it 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions