Lifecycle hook support
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 880
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 68
Description
It would be helpful to support pre/post-processing of requests/responses. Some of the use-cases that I see are:
- authentication
- logging
- custom container wrapping (e. g. by using Either)
Ideally this feature should come with a certain level of granularity, so that it is either possible to set lifecycle hooks both per Client or globally.
If this is accepted, I can work on implementation.
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
The issue names no files, tests, or entry points. Begin by clarifying the lifecycle-hook API and its per-Client versus global scope; completion should cover pre- and post-processing for requests and responses, including the authentication, logging, and container-wrapping use cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100