Skip to content

Commit 6178480

Browse files
committed
docs(graphql): comments about queries that need fixing in v3.0.x
BREAKING CHANGE: file uploads and GraphQL queries (namespace variable)
1 parent 051439a commit 6178480

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/gtfs/util/graphql.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ query routeQuery($namespace: String) {
3939
}
4040
`
4141

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

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

0 commit comments

Comments
 (0)