Skip to content
New issue

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

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

Already on GitHub? # to your account

Support NestJs v11 #626

Open
HaaLeo opened this issue Jan 21, 2025 · 5 comments · May be fixed by #627
Open

Support NestJs v11 #626

HaaLeo opened this issue Jan 21, 2025 · 5 comments · May be fixed by #627
Labels
enhancement New feature or request

Comments

@HaaLeo
Copy link

HaaLeo commented Jan 21, 2025

Is your feature request related to a problem? Please describe.

NestJs v11 was released a couple of days ago. We'd love to upgrade but currently automapper only supports nestjs ≥7, ≤10.

Describe the solution you'd like

Add support for NestJs v11

Describe alternatives you've considered

No response

Additional context

No response

@HaaLeo HaaLeo added the enhancement New feature or request label Jan 21, 2025
@HaaLeo HaaLeo linked a pull request Jan 21, 2025 that will close this issue
@HaaLeo
Copy link
Author

HaaLeo commented Jan 30, 2025

@nartc any chance to tackle this and review the linked PR to anytime soon? 🙏🏼

Maybe you could consider to add maintainers to the project for such basic patches?

@omarellakany
Copy link

@nartc appreciate your support on this.

@praju-aot
Copy link

@nartc Kindly review!

@kasir-barati
Copy link

@nartc can you take a look into this?

@HaaLeo
Copy link
Author

HaaLeo commented Mar 5, 2025

In the meantime we explicitly override the dependency in the package.json like this:

{
   "dependencies": {
        // your dependencies ...
    },
    "overrides": {
        "@automapper/classes": {
            "reflect-metadata": "^0.2.2"
        },
        "@automapper/nestjs": {
            "@nestjs/common": "^11.0.0",
            "@nestjs/core": "^11.0.0"
        }
    }
}

Maybe that helps other folks, too.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants