Skip to content

Relevant stops not included in alerts #108

@PasiSalenius

Description

@PasiSalenius

The following alert query returns an alert for tram 7B.

{
  alerts {
    id
    route {
      gtfsId
    }
    stop {
      gtfsId
    }
    alertDescriptionText
  }
}

But even though stops are listed as affected by the disruption alert, the stops property in the graphQL response is empty.

...
{
 "id": "QWxlcnQ6NTM3MDUgSFNMIDEwMDdCIHRydWUgMCAgbnVsbCAgIG51bGwg",
 "route": {
   "gtfsId": "HSL:1007B"
 },
 "stop": null,
 "alertDescriptionText": "Raitiolinjat 7A ja 7B poikkeusreitillä klo 16-24, ajetaan Rautatieaseman kautta. Seuraavat pysäkit jäävät ajamatta: Snellmaninkatu, Kansallisarkisto, Hallituskatu, Senaatintori, Aleksanterinkatu ja Ylioppilastalo. Syy: yleisötapahtuma. Lisätietoja: hsl.fi"
}
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions