Skip to content

Rename App::add_plugins to App::add_plugin_group #7631

Closed as not planned
Closed as not planned

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

This method is very easily and subtly typo'd and regularly bites new users.

What solution would you like?

Rename it to add_plugin_group.

Additional context

See #7630 for an example, but I've seen this regularly.

Activity

  1. added
    C-UsabilityA targeted quality-of-life change that makes Bevy easier to use
    A-AppBevy apps and plugins
    on Feb 11, 2023
  2. CmPons commented on Feb 12, 2023

    @CmPons

    Hey, I'm not sure if this is a good first issue, but I'm starting to look into this. @alice-i-cecile I have the changes ready, just trying to test it right now.

  3. alice-i-cecile commented on Feb 12, 2023

    @alice-i-cecile
    MemberAuthor

    Should be easy to implement! The real trick is convincing everyone that it's a good change :)

  4. alice-i-cecile commented on Feb 14, 2023

    @alice-i-cecile
    MemberAuthor

    I think we should consider fixing this upstream by improving the diagnostics instead. There's not a clear argument for either API (as called out by Cart in #7643), and this is a Rust wide problem with a confusing / misleading diagnostic.

  5. BD103 commented on Mar 4, 2024

    @BD103
    Member

    With add_plugin being deprecated and only add_plugins remaining, I'm going to close this as not planned.

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

    A-AppBevy apps and pluginsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useX-Needs-SMEThis type of work requires an SME to approve it.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions