Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NestJS 10 #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Quirkkle
Copy link

@Quirkkle Quirkkle commented Nov 10, 2024

In NestJS 10, AbstractHttpAdapter requires support for the following:

  1. RequestMethod.SEARCH in createMiddlewareFactory

Since koa-router does not support the SEARCH HTTP method, I implemented a placeholder function that throws an error.

  1. Methods appendHeader and getHeader

And also added the ability to specify a router in the initialization of the adapter, if it already exists. This is necessary for my project, and I think it would be useful for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant