dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
464 stars 102 forks source link

Enable generation of yaml with additional properties #96

Closed epapineau closed 1 year ago

epapineau commented 1 year ago

Describe the feature

A clear and concise description of what you want to happen. Add config param when generating yaml, takes in dictionary and outputs yml

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Source and model yaml can be enriched with a variety of properties which we may or may not want to apply for every source table or model. It would be helpful to have some sort of ability to pass these as additional arguments to generate_source and generate_model_yaml

Additional context

Is this feature database-specific? Which database(s) is/are relevant? Please include any other relevant context here. No

Who will this benefit?

What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly. Users leveraging any of the properties outlined in the linked docs above. For example, dbt snow mask leverages the meta property to assign masking policies.

Are you interested in contributing this feature?

Of course :)

github-actions[bot] commented 1 year ago

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

github-actions[bot] commented 1 year ago

Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.