Skip to content

incompatible_disable_depset_items: disallow the "items" parameter on the depset constructor #9017

@c-parsons

Description

@c-parsons

Flag: --incompatible_disable_depset_items

Disables the items parameter of the depset() contructor.

Motivation

The items parameter has been documented as Deprecated for many months. Users are encouraged to use direct and transitive instead.

Migration

Separate the items of a depset into the direct elements and the transitive depsets to union; use direct and transitive parameters. See the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)incompatible-changeIncompatible/breaking changetype: process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions