Skip to content

group.owners and exposure.owners should ONLY support name and email, NO additional properties #11652

@graciegoheen

Description

@graciegoheen

Housekeeping

  • I am a maintainer of dbt-core

Short description

today, we document:

groups:
  - name: finance
    owner:
      # 'name' or 'email' is required; additional properties allowed
      email: [email protected]
      slack: finance-data # custom additional property
      github: finance-data-team # custom additional property

having “additional properties allowed” within owner property (not nested under meta) is misaligned with our goals for “stricter validation”

Acceptance criteria

1. add config meta to groups (not nested in owners)
2. add deprecation warning for group.owners additional properties - only support name and email (no additional properties allowed) in the future

groups:
  - name: finance
    owner:
      # 'name' or 'email' is required; additional properties NOT allowed in the future
      email: [email protected]
    config:
     # groups.config.meta is where all additional info should go
      meta: ...

3. do the ^same for exposure owner (docs)

Metadata

Metadata

Assignees

Labels

user docs[docs.getdbt.com] Needs better documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions