-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Un-deprecate GTFS API's planConnection
, deprecate plan
#6110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Un-deprecate GTFS API's planConnection
, deprecate plan
#6110
Conversation
planConnection
, deprecate plan
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6110 +/- ##
=============================================
- Coverage 69.85% 69.84% -0.02%
+ Complexity 17468 17457 -11
=============================================
Files 1975 1973 -2
Lines 74614 74566 -48
Branches 7640 7637 -3
=============================================
- Hits 52118 52077 -41
+ Misses 19848 19841 -7
Partials 2648 2648 ☔ View full report in Codecov by Sentry. |
We agreed that this can happen now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
walk-steps integration test still uses the old plan query
/* | ||
* Hide the deprecated queries from the left hand navigation panel. | ||
*/ | ||
nav ul li .deprecated { | ||
display: none; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are they displayed without this? I'm just wondering since sometimes we use the deprecated on experimental queries (like we did for planConnection in the past), and I'm not sure if we want to hide their existence completely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5bb6f83
to
550e8ba
Compare
Summary
Deprecates the
plan
query and un-deprecatesplanConnection
which has been used by HSL in production for several month.Issue
#4803
Unit tests
I moved most of the integration tests from
plan
toplanConnection
. A single test forplan
remains.Documentation
The tutorial was updated with the new query.
Also, I added a CSS override so that the deprecated queries no longer show up in our HTML documentation of the schema.