conveyal / gtfs-lib

A library for loading and saving GTFS feeds of arbitrary size with disk-backed storage
BSD 2-Clause "Simplified" License
71 stars 38 forks source link

Return pattern and route information for stop deletion #378

Closed philip-cline closed 1 year ago

philip-cline commented 1 year ago

Checklist

Description

Return patternId and routeId with stop deletion error so that the front end can link a user to these areas for faster (and much more usable) deletion work flow

philip-cline commented 1 year ago

I am on the fence about unit tests as well, there doesn't seem to be a comparable test already created for cascading deletion scenarios. However, that could be a good reason to create one now maybe... I will defer to the reviewers on that.