AtB-AS / atb-bff

BFF for mittatb-web and mittatb-app
European Union Public License 1.2
2 stars 0 forks source link

feat: add system id for vehicle #330

Closed marius-at-atb closed 7 months ago

marius-at-atb commented 7 months ago

To know which systemId to use for requesting geofencing zones, it must be included on the vehicle.

Note that for the future, it could be considered to also add this on vehicleBasic:

system {
   id
}

This would allow the app to know the systemId immediately onClick rather than after the /vehicle call, however would also add about 30% more data to the /vehicles response.

Resolves https://github.com/AtB-AS/kundevendt/issues/17614