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

Refactor MoviePreference to have a property for the related Movie #46

Open
zenovy opened this issue May 4, 2019 · 0 comments
Open

Refactor MoviePreference to have a property for the related Movie #46

zenovy opened this issue May 4, 2019 · 0 comments

Comments

@zenovy
Copy link
Collaborator

zenovy commented May 4, 2019

Type 'Movie' should encapsulate data about the movie, whereas type 'MoviePreference' should encapsulate data about the user's relationship to the movie. However, the latter contains a lot of data about the movie itself. We should remove the properties related to the movie from MoviePreference and instead access that data through a property on MoviePreference of type Movie.

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

No branches or pull requests

1 participant