-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(GraphQL): allow nested queries where fields don't match
The GraphQL nested queries up until this change relied on parent tables with foreign refs sharing the same field name as the primary key on the child table. For example, trips could be joined to a route on the shared field route_id. This change permits nesting children stops under a parent stop using stops#parent_station, which will be joined on the parent join value found in stops#stop_id. refs ibi-group/datatools-ui#428
- Loading branch information
1 parent
5ec5285
commit 98194d0
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters