mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #487] [MERGED] Fix JSON deserialize error that TrackLink::id could be null #488
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#488
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/487
Author: @ramsayleung
Created: 8/3/2024
Status: ✅ Merged
Merged: 8/5/2024
Merged by: @ramsayleung
Base:
master← Head:ramsay/fix-tracklink-id-null📝 Commits (4)
7f31f46Fix JSON deserialize error that TrackLink::id could be null1df76eeUpdate CHANGELOG.md.7836a69Fix format error.41c2127Fix doc error.📊 Changes
3 files changed (+28 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
rspotify-model/src/track.rs(+5 -1)📝
tests/test_models.rs(+19 -0)📄 Description
Description
Fix JSON deserialize error that TrackLink::id could be null, and add the missing
typeandurifield for TrackLink based on the updated Spotify document: https://developer.spotify.com/documentation/web-api/concepts/track-relinkingMotivation and Context
Dependencies
None
Type of change
Please delete options that are not relevant.
How has this been tested?
Is this change properly documented?
Yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.