-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
Type: MaintenanceAny dependency, housekeeping, and clean up Issue or PRAny dependency, housekeeping, and clean up Issue or PR
Description
Describe the need
It looks like createNodeMiddleware
is not compatible with Express 5.
I am trying to upgrade my project to use Express 5.1 and am getting this:
Argument of type '(request: IncomingMessage, response: ServerResponse<IncomingMessage>, next?: Function | undefined) => Promise<boolean>' is not assignable to parameter of type 'PathParams'.
v1.use(createNodeMiddleware(octoApp.webhooks, {path: '/webhook'}));
I see a Renovate PR here: #613 - will that be worked on at some point soon?
Many thanks,
Dale
SDK Version
No response
API Version
No response
Relevant log output
Argument of type '(request: IncomingMessage, response: ServerResponse<IncomingMessage>, next?: Function | undefined) => Promise<boolean>' is not assignable to parameter of type 'PathParams'.
v1.use(createNodeMiddleware(octoApp.webhooks, {path: '/webhook'}));
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Type: MaintenanceAny dependency, housekeeping, and clean up Issue or PRAny dependency, housekeeping, and clean up Issue or PR
Type
Projects
Status
🔥 Backlog