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
Describe the need
It looks like
createNodeMiddlewareis not compatible with Express 5.I am trying to upgrade my project to use Express 5.1 and am getting this:
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
Code of Conduct