Skip to content

Would it be possible to add deprecation_date to dbt_models metadata model? #986

@scrambldchannel

Description

@scrambldchannel

As of dbt core 1.6 (changelog / github issue), adding the top level key deprecation_date to a model's properties is supported as documented here:

https://docs.getdbt.com/reference/resource-properties/deprecation_date?version=1.12

We make use of this key and it would be great if it could be added to the dbt_models metadata model. I've had a quick look at the code and think I can see how this could be achieved and will create a draft PR to see if the idea makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions