From 8269990089470726f58cb5fb0a902fcaa7b387bc Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 4 Oct 2026 10:26:24 +0200 Subject: [PATCH] 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 --- .../src/lib/serial-details/serial-details.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/portal/xtream/feature/src/lib/serial-details/serial-details.component.ts b/libs/portal/xtream/feature/src/lib/serial-details/serial-details.component.ts index 247193ad0..c29a4e087 100644 --- a/libs/portal/xtream/feature/src/lib/serial-details/serial-details.component.ts +++ b/libs/portal/xtream/feature/src/lib/serial-details/serial-details.component.ts @@ -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;