Validate whether a project is compatible with a target type #1471
Labels
good_first_issue
Straightforward + self-contained changes, good for new contributors!
packages
Functionality for interacting with installed packages
stale
Issues that have gone stale
Feature
Feature description
Add an optional key to
dbt_project.yml
, like:On
compile
, validate this list againsttarget.type
. If the key isn't provided, no validation should occur.If the
target.type
isn't in the list, a compilation error should be raised.There should also be a flag, like
--no-target-type-check
to override this check.Who will this benefit?
Mainly maintainers of packages
The text was updated successfully, but these errors were encountered: