Skip to content

feat: add affected stop places to situations - #469

Merged
gorandalum merged 2 commits into
mainfrom
dalum/situations_affects
Jun 22, 2026
Merged

feat: add affected stop places to situations#469
gorandalum merged 2 commits into
mainfrom
dalum/situations_affects

Conversation

@gorandalum

Copy link
Copy Markdown
Contributor

Extends the shared situation GraphQL fragment with affects, pulling
stopPlace/quay names so clients can list affected stops on situation
messages.

Also updates favorites.ts to type its helpers against the local
DeparturesQuery shape instead of casting to the upstream EstimatedCall,
since the new SituationFragment shape tipped the cast into a type error.

Extends the shared `situation` GraphQL fragment with `affects`, pulling
stopPlace/quay names so clients can list affected stops on situation
messages.

Also updates favorites.ts to type its helpers against the local
DeparturesQuery shape instead of casting to the upstream EstimatedCall,
since the new SituationFragment shape tipped the cast into a type error.
@gorandalum gorandalum self-assigned this Jun 22, 2026

@rosvik rosvik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@gorandalum
gorandalum merged commit 1a978ef into main Jun 22, 2026
1 check passed
@gorandalum
gorandalum deleted the dalum/situations_affects branch June 22, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants