slackapi / slackapi/bolt-js

feat: Add request and respond object to context

Open
#545 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
TypeScript
Stars
2.9k
Forks
445
Avg merge
1d 3h
Merged PRs (30d)
28

Description

I am trying to use the express receiver with adding my own middleware to the router. During that time I add things like request id as well as a scoped typedi container. These two things would be nice to be able to access on the context object that gets passed through to the bolt action and events middleware

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Express receiver and router flow, then trace how the context object reaches Bolt actions and events middleware. Determine how request and response values should be exposed alongside the existing context, and verify that custom middleware data such as request IDs and scoped containers remains accessible through the full flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, typescript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.