-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(migrations): validator #13073
refactor(migrations): validator #13073
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please split refactoring from new migration to separate PR.
beaad84
to
f4d3d19
Compare
I have removed commits with migrations, but unfortunately by force push |
@@ -13,7 +13,7 @@ export class RemovePropertyMigration extends AbstractMigration { | |||
this.propertyName = propertyName; | |||
} | |||
|
|||
override run(): void { | |||
run(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why override is no longer required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided that is not correct to use override
keyword for methods, which is marked as abstract
in parent class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check if we set the noImplicitOverride
typescript option? It should be enabled and force the override usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it is already enabled 5 month ago
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should leave the override, so we can't get into trouble in future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
🎉 This PR is included in version 31.23.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes:
delete
method bydeprecated
field for more declarative wayContext:
Documentation
How I've tested my work
I have verified these changes via: