Skip to content

Conversation

@miles-grant-ibigroup
Copy link
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup commented Aug 21, 2024

Description:
Makes use of new graphql parameters to limit route and nearby results to current week

  • routes
  • nearby

blocked waiting for otp-ui to be fixed

@miles-grant-ibigroup miles-grant-ibigroup self-assigned this Aug 21, 2024
@miles-grant-ibigroup miles-grant-ibigroup added the BLOCKED Blocked (waiting on another PR to be merged) label Sep 16, 2024
@miles-grant-ibigroup miles-grant-ibigroup removed the BLOCKED Blocked (waiting on another PR to be merged) label Sep 24, 2024
Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to change the graphql queries

@miles-grant-ibigroup
Copy link
Collaborator Author

@daniel-heppner-ibigroup to fix the graphql mocks

Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be even better if we didn't rename the routes in the gql query

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there might be an error in the fetchNearby query!

lon
code
gtfsId
stopRoutes: routes (serviceDates: $currentServiceWeek) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting a "Unknown field argument" graphql error back when I try to view a stop

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works on the latest version of OTP. Are you testing against an older OTP version? I'm happy to delay merging this until newer OTP is more widespread

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh gotcha, yes the instance of OTP I was using to test looks like the only one of ours this would break! We can discuss that internally

@miles-grant-ibigroup miles-grant-ibigroup merged commit f2b0a69 into dev Nov 7, 2024
9 checks passed
@miles-grant-ibigroup miles-grant-ibigroup deleted the date-restricted-requests branch November 7, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants