Lior.
Well-known member
Right now, the _getNotableMembers defines the available notable members types, then fetches the users and returns the result.
This makes it impossible to extend the notable members page and add more types of notable members.
Edit: Actually, just noticed that the function returns false if the type doesn't exist in the defined types map, so it's actually possibly to extend it. Still probably not the best design.
This makes it impossible to extend the notable members page and add more types of notable members.
Edit: Actually, just noticed that the function returns false if the type doesn't exist in the defined types map, so it's actually possibly to extend it. Still probably not the best design.
Upvote
0