Skip to content

Move --no-implicit-pubspec-resolution to a Feature #158012

@matanlurey

Description

@matanlurey

Blocked on #157462 landing first.

Similar to what was done for Swift Package Manager, e.g.

flutter config --explicit-package-resolution

Or later to opt-out:

flutter config --no-explicit-package-resolution

Advantages:

  • Fits the formula of "something we are rolling out" better.
  • Can be opt-out/in globally, or potentially per-project (i.e. using pubspec.yaml, which is additional custom work)

Disadvantages:

  • Slightly more work, slightly more cumbersome to integration test

Steps:


Feature flags are always positive things (adding a feature), so I'd want to call it explicit, explicit-package-resolution?

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listblockedIssue is blocked by another issuec: tech-debtTechnical debt, code quality, testing, etc.f: integration_testThe flutter/packages/integration_test pluginteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions