Skip to content

Deprecation warnings that warn only when the deprecated call is directly "your fault" #49583

Open
@LilithHafner

Description

@LilithHafner

There should be a way to create deprecation warnings so that If I use a package that has those deprecated calls, I don't get a warning but if I write code that uses those calls (script, repl, or ]deving a package) I do get a warning.

Originally posted by @oxinabox in #47150 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationThis change introduces or involves a deprecationfeatureIndicates new feature / enhancement requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions