Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract common wireframe filters in type alias #10080

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

nicopap
Copy link
Contributor

@nicopap nicopap commented Oct 11, 2023

Objective

  • The filter type on the apply_global_wireframe_material system had duplicate filter code and the clippy::type_complexity attribute.

Solution

  • Extract the common part of the filter into a type alias

@nicopap nicopap added A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change labels Oct 11, 2023
@alice-i-cecile alice-i-cecile added 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 Oct 11, 2023
Copy link

@nerdachse nerdachse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Straightforward changes: approved!

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Oct 11, 2023
Merged via the queue into bevyengine:main with commit be8ff5d Oct 11, 2023
@nicopap nicopap deleted the cleanup-wr branch October 11, 2023 15:05
regnarock pushed a commit to regnarock/bevy that referenced this pull request Oct 13, 2023
# Objective

- The filter type on the `apply_global_wireframe_material` system had
duplicate filter code and the `clippy::type_complexity` attribute.

## Solution

- Extract the common part of the filter into a type alias
ameknite pushed a commit to ameknite/bevy that referenced this pull request Nov 6, 2023
# Objective

- The filter type on the `apply_global_wireframe_material` system had
duplicate filter code and the `clippy::type_complexity` attribute.

## Solution

- Extract the common part of the filter into a type alias
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this pull request Jan 9, 2024
# Objective

- The filter type on the `apply_global_wireframe_material` system had
duplicate filter code and the `clippy::type_complexity` attribute.

## Solution

- Extract the common part of the filter into a type alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants