warn for dbt_project.yml
configs which do not affect any models
#691
Labels
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
This happens far too frequently and dbt offers no help. It typically occurs because users do not include the project name in their
models:
dict, eg:This is particularly confusing because 1) the
models/
path is implicit in the hierarchical config, 2) the project name is required, but is not a part of the path to the file, 3) our docs here are probably insufficient.dbt should handle these configurations in a better way, ideally without breaking backwards compatibility. A good first step could be to identify when configurations do not affect any models. It could also include a helpful hint if config paths are valid, but missing a project name.
The text was updated successfully, but these errors were encountered: