Skip to content

Deprecate and remove flutter generate functionality #61508

Closed

Description

@jonahwilliams

This was an attempt at creating a workflow that better integration code generation into flutter run. Nevertheless, there were a number of failures and issues that were unsolvable:

  • Maintaining build_runner integration code was trickier than expected, due to the large API surface
  • Surfacing errors in an actionable way was hard when so much of the functionality relied on autogenerated code
  • Further complications from null safety means than generate + check-in workflows might be more compelling, due to the need to closely control build_runner versions.

Because of this, we've decided to deprecate and remove the functionality and recommend that users use dart pub run build_runner instead.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    a: qualityA truly polished experience
    P2Important issues not at the top of the work list
    on Jul 15, 2020
  2. added a commit that references this issue on Jul 16, 2020
    045f3a5
  3. added a commit that references this issue on Aug 11, 2020
    80213bd
  4. added a commit that references this issue on Sep 6, 2020
    3add531
  5. github-actions commented on Aug 18, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: qualityA truly polished experiencetoolAffects 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