Skip to content

Warn on pub get if packages are overridden, but not elsewhere in dependency graph. #4667

@sigurdm

Description

@sigurdm

It is currently allowed to override dependencies that are not mentioned elsewhere. They then get included in the package config.

It is unclear that we can break this behavior, but we can at least warn about it.

See flutter/flutter#174593 for more discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions