dbt-core
dbt-core copied to clipboard
update disabled metrics/exposures to use add_disabled
resolves #5422
Description
Account for being able to disable metrics and exposures in yaml files in addition to just tests.
Note: No changelog since this is a fix for changes in upcoming release.
Checklist
- [ ] I have read the contributing guide and understand what's expected of me
- [ ] I have signed the CLA
- [ ] I have run this code in development and it appears to resolve the stated issue
- [ ] This PR includes tests, or tests are not required/relevant for this PR
- [ ] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
- [ ] I have run
changie new
to create a changelog entry