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

🐛 Bug Report: Incompatibility between nest-swagger-ui and @novu/framework #6994

Open
2 tasks done
paulwer opened this issue Nov 14, 2024 · 2 comments
Open
2 tasks done
Labels

Comments

@paulwer
Copy link
Contributor

paulwer commented Nov 14, 2024

📜 Description

When the swagger explorer tries to check the controller of the nest integration and their metadata, it failes with the following error:
image

👟 Reproduction steps

NestJs Repository with additional dependency: @nestjs/swagger & swagger-ui-express

I guess the origin of this error is maybe, that decorator data is not exported at build process. (but I am not sure to be honest)

👍 Expected behavior

Should be able to fetch metadata from the classes and reuse them.

👎 Actual Behavior with Screenshots

image

Novu version

@novu/[email protected]

npm version

7

node version

18

📃 Provide any additional context for the Bug.

Potential fix:
https://stackoverflow.com/questions/58596139/nestjs-swagger-issue

Use emitDecoratorMetadata in tsconfig.json

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Copy link

linear bot commented Nov 14, 2024

@paulwer
Copy link
Contributor Author

paulwer commented Nov 14, 2024

image

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

No branches or pull requests

1 participant