Skip to content

Commit

Permalink
docs(graphql): comments about queries that need fixing in v3.0.x
Browse files Browse the repository at this point in the history
BREAKING CHANGE: file uploads and GraphQL queries (namespace variable)
  • Loading branch information
landonreed committed Nov 8, 2017
1 parent 051439a commit 6178480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gtfs/util/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ query routeQuery($namespace: String) {
}
`

// FIXME: Pattern stats are not supported yet in gtfs-api, so this is broken.
export const patterns = `
query patternsQuery($namespace: String, $routeId: [String], $date: String, $from: Long, $to: Long) {
feed (namespace: $namespace, route_id: $routeId) {
Expand Down Expand Up @@ -168,6 +169,7 @@ export const stopsAndRoutes = (namespace: string, routeId: ?string, stopId: ?str
}
`

// FIXME: Stop stats are not supported yet in gtfs-api, so this is broken.
// TODO: add back in patternId filter
export function stopsFiltered (
namespace: ?string,
Expand Down

0 comments on commit 6178480

Please sign in to comment.