Closed Divinelink closed 2 weeks ago
Attention: Patch coverage is 83.14607%
with 30 lines
in your changes missing coverage. Please review.
Project coverage is 77.74%. Comparing base (
0a857af
) to head (4039044
). Report is 6 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull requests enhances the cast and crew credits by adding multiple roles to people that have such information.
Each
actor
orcrew
member in a series might take on multiple roles, with each role potentially having a different episodeCount. To address this, we modified our queries to retrieve all roles, cast and crew information separately, then appropriately matched and appended the correct roles to each individual.To address any performance issues (especially in series with thousands of cast members and roles) we're using the kotlin's
groupBy
operator, that associates each role to a castIdThis ensures that finding all roles for a given person becomes a negligible-cost operation:
Additionally:
Known For
section for each person