HSLdevcom / HSLdevcom/digitransit-ui
Where is the main graphQL component/fragment?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 267
- Forks
- 145
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 75
Description
I need some help on data fetching...
My goal is to update the GraphQL structures to add some fields in the query so that I
can read new data added from OTP to Digitransit. I can't understand where is the 'main' graphQL/fragment because there are so many JS with fragments/relay and don't know the relations between all these to mod the code.
Any suggestions? I tried to set many breakpoints in Chromes inspector but it goes too deep in the libraries and you don't understand the sequence of the callstack. Can someone help me? Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the JavaScript GraphQL fragments and Relay relationships mentioned in the issue, rather than relying on browser breakpoints. Identify the main query or fragment used for the relevant data, then confirm which fields must be added to expose the new OTP data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, javascript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100