Skip to content

Add leg.headsign to GTFS GraphQL API - #5290

Merged
leonardehrenfried merged 1 commit into
opentripplanner:dev-2.xfrom
ibi-group:graphql-headsign
Aug 15, 2023
Merged

Add leg.headsign to GTFS GraphQL API#5290
leonardehrenfried merged 1 commit into
opentripplanner:dev-2.xfrom
ibi-group:graphql-headsign

Conversation

@leonardehrenfried

Copy link
Copy Markdown
Member

Summary

@binh-dam-ibigroup has reported that in the GTFS GraphQL API a leg's headsign (as opposed the trip's) is not available, even though the internal model already contains the field and it was previously returned in the REST API.

This PR adds it.

Unit tests

Added.

Documentation

Added.

@leonardehrenfried
leonardehrenfried requested a review from a team as a code owner August 15, 2023 07:38
@leonardehrenfried leonardehrenfried added the IBI Developed by or important for IBI Group label Aug 15, 2023
@codecov

codecov Bot commented Aug 15, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01% ⚠️

Comparison is base (c721d87) 65.92% compared to head (6e30336) 65.92%.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #5290      +/-   ##
=============================================
- Coverage      65.92%   65.92%   -0.01%     
- Complexity     14802    14807       +5     
=============================================
  Files           1770     1770              
  Lines          68702    68704       +2     
  Branches        7283     7283              
=============================================
+ Hits           45294    45295       +1     
- Misses         20921    20925       +4     
+ Partials        2487     2484       -3     
Files Changed Coverage Δ
.../gtfsgraphqlapi/generated/GraphQLDataFetchers.java 0.00% <ø> (ø)
...anner/ext/gtfsgraphqlapi/datafetchers/LegImpl.java 59.40% <100.00%> (+0.82%) ⬆️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@t2gran t2gran added this to the 2.4 (next release) milestone Aug 15, 2023
@leonardehrenfried
leonardehrenfried requested review from optionsome and t2gran and removed request for t2gran August 15, 2023 09:46
@leonardehrenfried

Copy link
Copy Markdown
Member Author

@t2gran has reviewed the non-sandbox code and is fine with it. @optionsome will be the only reviewer.

@leonardehrenfried
leonardehrenfried merged commit bb1bdec into opentripplanner:dev-2.x Aug 15, 2023
@leonardehrenfried
leonardehrenfried deleted the graphql-headsign branch August 15, 2023 13:10
t2gran pushed a commit that referenced this pull request Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IBI Developed by or important for IBI Group

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants