Feature Request: allow async transformRequest
Open
Nobody has claimed this yet.
feature :green_apple:
needs information :pray:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Motivation
we want to update our refresh token only on map request. But for this asynchron function is needed on the transformRequest callback. Also we need to wait until we received a valid refresh token.
Contributor guide
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 locating the transformRequest callback and the request lifecycle in the mapbox-gl-js source. Determine how asynchronous callbacks and waiting for a valid refresh token should interact, then define the expected behavior and tests before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100