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

refactor: marked the old notification-temlates controller, usecases a… #3703

Conversation

BiswaViraj
Copy link
Contributor

@BiswaViraj BiswaViraj commented Jul 2, 2023

What change does this PR introduce?

  • Marked the old files inside the old notification-templates controller as deprecated

Why was this change needed?

Other information (Screenshots)

image

This PR is a part of stacked PRs

@linear
Copy link

linear bot commented Jul 2, 2023

@github-actions
Copy link

github-actions bot commented Jul 2, 2023

Pull reviewers stats

Stats of the last 30 days for novu:

User Total reviews Time to review Total comments
p-fernandez 48 1h 35m 138
scopsy 16 24m 3
LetItRock 14 17h 47m 58
djabarovgeorge 14 1d 22h 12m 52
ainouzgali 10 43m 49
unicodeveloper 7 7d 8h 31m 96
davidsoderberg 5 15h 55m 3
BiswaViraj 2 10h 44m 1
jainpawan21 2 7h 59m 2
peoray 1 27m 1
michaldziuba03 1 10h 53m 1
Cliftonz 1 5d 54m 0

@@ -43,7 +43,7 @@ import { CreateNotificationTemplateQuery } from './queries';
@Controller('/notification-templates')
@UseInterceptors(ClassSerializerInterceptor)
@UseGuards(JwtAuthGuard)
@ApiTags('Workflows')
@ApiTags('Notification Templates')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed this to Notification templates to show it as deprecated on the swagger
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is it the new Swagger API for Workflows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in the different PR:#3701

@@ -59,6 +59,7 @@ export class NotificationTemplateController {
@ApiOperation({
summary: 'Get workflows',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
summary: 'Get workflows',
summary: 'Get notification templates',

Should we change this description back to notification templates to show it in the swagger deprecated section?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do agree.

@BiswaViraj BiswaViraj merged commit dab64ca into nv-2405-workflows-crud-controller Jul 7, 2023
14 of 16 checks passed
@BiswaViraj BiswaViraj deleted the nv-2536-mark-old-templates-controller-as-deprecated branch July 7, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants