Skip to content

Make get_short_name return Cow instead of String (Adopted)#12275

Closed
tygyh wants to merge 1 commit intobevyengine:mainfrom
tygyh:display-short-name
Closed

Make get_short_name return Cow instead of String (Adopted)#12275
tygyh wants to merge 1 commit intobevyengine:mainfrom
tygyh:display-short-name

Conversation

@tygyh
Copy link
Copy Markdown
Contributor

@tygyh tygyh commented Mar 3, 2024

@tygyh tygyh changed the title Make get_short_name return Cow instead of String Make get_short_name return Cow instead of String (Adopted) Mar 3, 2024
@alice-i-cecile alice-i-cecile added C-Code-Quality A section of code that is hard to understand or change A-Utils Utility functions and types labels Mar 3, 2024
@alice-i-cecile alice-i-cecile requested a review from nicopap March 3, 2024 14:25
@james7132
Copy link
Copy Markdown
Member

james7132 commented Mar 3, 2024

Can you fix the broken test?

The PR description should also mirror #9504's to ensure the results of this are added to the migration guide. It should also have a Co-Autthored By: line to credit @nicopap as their part of this.

@james7132 james7132 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it C-Performance A change motivated by improving speed, memory usage or compile times M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide labels Mar 3, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 3, 2024

It looks like your PR is a breaking change, but you didn't provide a migration guide.

Could you add some context on what users should update when this change get released in a new version of Bevy?
It will be used to help writing the migration guide for the version. Putting it after a ## Migration Guide will help it get automatically picked up by our tooling.

@alice-i-cecile alice-i-cecile removed the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Mar 4, 2024
@rparrett rparrett added the S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged label Aug 13, 2024
@mockersf
Copy link
Copy Markdown
Member

should be re-opened on the disqualified repo now: https://github.com/bevyengine/disqualified

@mockersf mockersf closed this Dec 15, 2024
@tygyh tygyh deleted the display-short-name branch January 25, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Utils Utility functions and types C-Code-Quality A section of code that is hard to understand or change C-Performance A change motivated by improving speed, memory usage or compile times M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_short_name should return a Cow most likely

6 participants