Skip to content

Allow playlist entries without added_at and added_by - #859

Merged
joostlek merged 1 commit into
mainfrom
ccr-af58c15a-nqvsya-playlist-entry-added-nullable
Oct 30, 2026
Merged

joostlek merged 1 commit into
mainfrom
ccr-af58c15a-nqvsya-playlist-entry-added-nullable

Conversation

@joostlek

Copy link
Copy Markdown
Owner

Proposed Changes

The Get Playlist reference says added_at and added_by on a playlist entry may be null for very old playlists. PlaylistTrack required both, so these playlists failed to deserialize.

Both fields are now optional (datetime | None and AddedBy | None).

The new test fails on main and passes with this change.

Related Issues


Generated by Claude Code

@joostlek joostlek added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Oct 30, 2026 — with Claude
@sonarqubecloud

Copy link
Copy Markdown

@joostlek
joostlek merged commit f32f2e2 into main Oct 30, 2026
14 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants