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

Nestjs 5 The @Middleware() decorator is deprecated #4

Closed
okhomenko opened this issue May 14, 2018 · 2 comments
Closed

Nestjs 5 The @Middleware() decorator is deprecated #4

okhomenko opened this issue May 14, 2018 · 2 comments

Comments

@okhomenko
Copy link

With the latest version of nestjs it spits out an error:

WARNING!!
The @Middleware() decorator is deprecated and will be removed within next major release. Use @Injectable() instead.

@wbhob
Copy link
Owner

wbhob commented May 21, 2018

That is not an error, it is a warning. It still works, but just has an error. I will update it soon.

@wbhob
Copy link
Owner

wbhob commented Jun 18, 2018

all packages are now v5, and are updated to support NestJS v5. Cheers!

@wbhob wbhob closed this as completed Jun 18, 2018
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

No branches or pull requests

2 participants