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

Remove duplicate Album and ExternalIDs fields from FullTrack #268

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

flimzy
Copy link
Contributor

@flimzy flimzy commented Nov 10, 2024

They're both already present in SimpleTrack, and in the case of ExternalIDs, in a more convenient form. By putting the duplicate in FullTrack, SimpleTrack is rendered invalid/incomplete (since the json tags on the embedded fields are shadowed), and also use a less useful type (map[string]string, rather than TrackExternalIDs).

This is, of course, a breaking change, and should target v3.

They're both already present in SimpleTrack, and in the case of ExternalIDs,
in a more convenient form.  By putting the duplicate in FullTrack,
SimpleTrack is rendered invalid/incomplete (since the json tags on the
embedded fields are shadowed), and also use a less useful type
(map[string]string, rather than TrackExternalIDs).
@flimzy flimzy changed the title Remove duplicate ExternalIDs field from FullTrack Remove duplicate Album and ExternalIDs fields from FullTrack Nov 11, 2024
@strideynet strideynet merged commit 2ac6923 into zmb3:master Nov 11, 2024
2 checks passed
@flimzy flimzy deleted the remove_dupe_field branch November 11, 2024 16:11
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