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

Cue/CueDAO: Improve type-safety and reduce code duplication #3324

Merged
merged 1 commit into from
Nov 15, 2020
Merged

Cue/CueDAO: Improve type-safety and reduce code duplication #3324

merged 1 commit into from
Nov 15, 2020

Conversation

uklotzde
Copy link
Contributor

Noticed while fixing the recent cue dirty flag bug.

  • Use DbId instead of int to make the validation of ids less error prone and to improve type-safety
  • No separate type CueId like we introduced with TrackId, beause that would be overkill in the first step

@uklotzde uklotzde added this to the 2.3.0 milestone Nov 15, 2020
Copy link
Member

@Holzhaus Holzhaus left a comment

Choose a reason for hiding this comment

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

LGTM, waiting for CI.

@Holzhaus Holzhaus merged commit e3fab0c into mixxxdj:2.3 Nov 15, 2020
@uklotzde uklotzde deleted the cue-dbid branch November 15, 2020 21:10
@uklotzde
Copy link
Contributor Author

I have resolved the conflicts. Local main build for verification is running.

@Holzhaus
Copy link
Member

I have resolved the conflicts. Local main build for verification is running.

Oops, I already took care of that but forgot to push :-/

@uklotzde
Copy link
Contributor Author

I guess you know what you are doing ;) Feel free to push. I will do a double check afterwards.

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

Successfully merging this pull request may close these issues.

2 participants