Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

870
Views
In the next major version, Nest will not allow classes annotated with @Injectable(), @Catch(), and @Controller() decorators

I'm writing in Nest.js framework for 3 years and i got the message in by backend-application:

WARN [DependenciesScanner] In the next major version, Nest will not allow classes annotated with @Injectable(), @Catch(), and @Controller() decorators to appear in the "imports" array of a module.
Please remove "ExternalOrAdmin" (including forwarded occurrences, if any) from all of the "imports" arrays.

Scope [BackendAdminModule -> LicenseModule -> AuthModule]

I researched nest.js github and stuck what is the problem and why it says about some deprecation of useable decorators.

Does anyone know how to solve this problem or what will be in the next major version of Nest.js framework

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

only modules should be listed in the imports array. That's why this wrong usage won't be allowed in v9 anymore.

Read the docs on modules: https://docs.nestjs.com/modules

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!