Skip to content

Add push, join_*, and empty methods to ParsedPath.#23650

Open
CraftSpider wants to merge 1 commit intobevyengine:mainfrom
CraftSpider:parsedpath-push
Open

Add push, join_*, and empty methods to ParsedPath.#23650
CraftSpider wants to merge 1 commit intobevyengine:mainfrom
CraftSpider:parsedpath-push

Conversation

@CraftSpider
Copy link
Copy Markdown

Objective

Fixed #13227

Solution

This implements the 'mutates self' variant of the API, aside from join. This is meant to mirror PathBuf::push vs Path::join - one mutates, the other returns a new value.

Testing

  • Added doctests that verify basic behavior
  • May want either examples or unit tests on the various push methods
  • Tested on Windows, but that shouldn't matter

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Welcome, new contributor!

Please make sure you've read our contributing guide, as well as our policy regarding AI usage, and we look forward to reviewing your pull request shortly ✨

@kfc35 kfc35 added A-Reflection Runtime information about types S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 3, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Reflection Apr 3, 2026
@kfc35 kfc35 added D-Straightforward Simple bug fixes and API improvements, docs, test and examples C-Feature A new feature, making something new possible X-Uncontroversial This work is generally agreed upon labels Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Reflection Runtime information about types C-Feature A new feature, making something new possible D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward X-Uncontroversial This work is generally agreed upon

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

Fluent builder methods for bevy_reflect ParsedPaths.

2 participants