-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Milestone
Description
Describe the feature
Today, dbt accepts anything and everything in project level flags:. We're just checking for raw yaml https://github.com/dbt-labs/fs/blob/d4190527bdc08f77aa2f2bd30fc7cacff2b0b21f/fs/sa/crates/dbt-schemas/src/schemas/project/dbt_project.rs#L167
If I set a custom flag:
flags:
grace: is_cool
dbt continues with no warning or error.
This makes it unclear what's "official" dbt-code vs. "my custom thing".
If we wanted to introduce a new dbt flag, we'd risk conflicting with an existing custom flag someone had set in their project.
We should instead make flags: a strict list, and warn or error if you set something that dbt doesn't recognize.
Reactions are currently unavailable