-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Feat (Core | BB-333) Implement a RelationshipType enum #575
Conversation
Implemented Relationship_Type Enum as per the database (17-03-2021). Names in these enum are generated using columns in the 'relationship_type' table as - source_entity_type + link_phrase + target_entity_type. But some modifications are made wherever necessary.
As per the bookbrainz database (17-03-2021), I exported the relationship_type table in the following file - There are 69 rows in total so created 69 realtionship_types by using format - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done, thanks !
A few nitpicks below, but overall good job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go, thanks ! 🚀
Problem
BB-333
Implement Relationship_Type Enum as per the database (17-03-2021).
Solution
Names in these enum are generated using columns in the 'relationship_type' table as -
source_entity_type + link_phrase + target_entity_type.
But some modifications are made wherever necessary.
Areas of Impact
Added more type perspective for the codebase wherever relationship_type is used.