Open chihabhajji opened 1 month ago
edit to add a title, dont forget to change linear title too
did you guys really have to remove the workflow editor from v0? i have a task pending from two weeks ago to add a new notification just to get paid :'(
@chihabhajji +1 on this issue.
Hi @chihabhajji , thanks for reporting this bug.
We are also using the NovuModule
internally for our Novu-Managed Bridge endpoint, which we're dogfooding in preparation for a new Dashboard editor that you can read more about here. This new Workflow Editor experience is planned for release in the coming months.
On the issue topic, we also use @nestjs/swagger
and experienced this same issue. Please take a look at our custom NovuBridgeController which applies the ApiExcludeController
decorator directly, and NovuModule
injection of that controller here for an approach to workaround this issue.
We know this isn't ideal, but unfortunately we've not been able to find an approach yet that enables us apply the ApiExcludeController
internally within the @novu/framework
package to create compatibility with @nestjs/swagger
.
Pull requests to solve this problem in the @novu/framework
Nest.controller.ts
directly will be greatly appreciated! It's our preference not to add @nestjs/swagger
as a direct dependency of Framework - instead, @novu/swagger
can be provided as an optional peer dependency as needed by package consumers.
will attempt to PR if i find time
+1
📜 Description
Nestjs application fails to bootstrap because of invalid swagger definition
👟 Reproduction steps
i have a minimal reproduction using v2.3.0
my app imports module has
in my main.ts i have
👍 Expected behavior
application to bootstrap, and optionally swagger to have valid documentation
👎 Actual Behavior with Screenshots
Novu version
Novu SaaS
npm version
2.3.0
node version
20.18.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
Yes I am willing to submit a PR!