docs(xtream): note why the seasons service is injected last

Its TMDB enrichment effect keeps the position it had as the first effect
of the component constructor only while it is created after the other
services' effects.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
4grayandClaude Fable 5.1 committed 2026-10-04 10:26:24 +02:00
1 parent 7f03315ec4
commit 8269990089
1 file changed
+5 -1
@@ -166,7 +166,11 @@ export class SerialDetailsComponent implements OnDestroy {
readonly similarItems = this.similar.similarItems;
readonly similarInPortals = this.similar.similarInPortals;
/** Season descriptions and posters, and the selected season's enrichment. */
/**
* Season descriptions and posters, and the selected season's enrichment.
* Injected after the other services that register effects: its enrichment
* effect then runs after theirs and before the constructor's.
*/
private readonly seasons = inject(SerialDetailsSeasonsService);
readonly seasonDescriptions = this.seasons.descriptions;
readonly seasonPosters = this.seasons.posters;