Skip to content

760 Feature request update the Player Avatar data to include color data for each of the pieces#767

Open
CapoMK25 wants to merge 5 commits intodevfrom
760-feature-request-update-the-player-avatar-data-to-include-colour-data-for-each-of-the-pieces
Open

760 Feature request update the Player Avatar data to include color data for each of the pieces#767
CapoMK25 wants to merge 5 commits intodevfrom
760-feature-request-update-the-player-avatar-data-to-include-colour-data-for-each-of-the-pieces

Conversation

@CapoMK25
Copy link
Collaborator

Brief description

Avatar Migration to an Object-Based Structure

This PR solves the feature request to add the Player Avatar data to include color data for each of the pieces.

Change list

  • Shifted avatar parts from number to { id, color } objects.
  • Updated ModifyAvatarDto and UpdatePlayerDto to handle nested validation.
  • Adjusted the clothes-change detection logic to compare .id properties.
  • Updated createPlayerDtoBuilder and related mocks to fix the 32 failing suites caused by the type mismatch.

@CapoMK25
Copy link
Collaborator Author

CapoMK25 commented Feb 4, 2026

JSDocs documentation went missing along the way for some reason again... added it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant