Skip to content

Allow for resetting melody of song to None#493

Merged
georgelgeback merged 1 commit intomainfrom
fix-unset-melody
Mar 28, 2026
Merged

Allow for resetting melody of song to None#493
georgelgeback merged 1 commit intomainfrom
fix-unset-melody

Conversation

@georgelgeback
Copy link
Copy Markdown
Contributor

No description provided.

@maffe03
Copy link
Copy Markdown
Member

maffe03 commented Mar 21, 2026

Will this cause problems with the frontend? Or does it always patch with the full schema?

@georgelgeback
Copy link
Copy Markdown
Contributor Author

Yeah it always patches fully so it's fine. I tested it with the frontend. Our "partial updates" don't really follow the best practices tbh, you're supposed to just not send fields you don't want to change, not set them to None.

Copy link
Copy Markdown
Member

@maffe03 maffe03 left a comment

Choose a reason for hiding this comment

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

LGTM

@georgelgeback georgelgeback merged commit 7e8a62a into main Mar 28, 2026
1 check passed
@georgelgeback georgelgeback deleted the fix-unset-melody branch March 28, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants