Skip to content

dbt_project.yaml allows additional properties in flags, which can overlook typos in flag names #179

@alexras

Description

@alexras

The latest schema for dbt_project.yaml doesn't have additionalProperties: false set for its top-level flags key. This means that if you make a typo on a flag name, your dbt_project.yaml will still pass JSON schema validation. Ask me how I know 😅

I'm happy to open a PR to fix this, but wanted to make sure that it's not intentional first, since additionalProperties: false is being used elsewhere in that schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions