Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refetch transit leg with a leg query of GTFS GraphQL API #6045
Refetch transit leg with a leg query of GTFS GraphQL API #6045
Changes from 23 commits
5e18c0a
021e07c
01b460d
2182066
7e2033f
6b92741
e489f05
6bd5d04
a998e52
cf37e89
cd54cbe
4025d5b
b206ce1
15f1f34
20f855a
9b3c4d5
14fd13e
207cd5d
71a6315
cd660b2
97d2180
b75c047
1a43221
58b382f
f6a8d8f
71caaa5
ba100e8
45d6f98
857b815
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realised that this doesn't use a proper mapper, which I think is a very useful thing.
Since I already approved, I wrote the code myself: leonardehrenfried@a763bc5
If you want you can cherry pick it into this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, too late. I will open another one myself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should use the global id anymore, since we have own query for this now, we can just return a string which is the output of the
LegReferenceSerializer.encode(ref)
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using plain string is indeed simpler. Changed.