-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Replace IDataMigrationManager.UpdateAsync(string) with IDataMigrationManager.UpdateAsync(IEnumerable<string>) #15909
Conversation
Warning Rate Limit Exceeded@Piedone has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 2 minutes and 14 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThe update involves refactoring the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 1
src/OrchardCore/OrchardCore.Data.Abstractions/Extensions/DataMigrationManagerExtensions.cs
Outdated
Show resolved
Hide resolved
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 should be the other way around: #4917 (comment)
Do you mean leave |
src/OrchardCore/OrchardCore.Data.Abstractions/IDataMigrationManager.cs
Outdated
Show resolved
Hide resolved
Yes. |
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.
Actionable comments posted: 1
How did you test this? |
If you look closely nothing changes because the |
Please, and I've asked for this multiple times before, test your code. Don't ask for a review before that. The change might be trivial, or it might seem trivial but actually break something, but testing your code is step 0 of QA. You're not finished until you've run your code and are sure that it does what it should. This is your responsibility as the PR author. |
I know what you mean Zoltan, but if you look at the change I didn't add anything fancy, just deprecate the FYI no unit tests were added here, I just did a manual test |
And how did you do the manual test? I'm asking this because I'd like to try that too. |
Try the above step with |
src/OrchardCore/OrchardCore.Data.Abstractions/IDataMigrationManager.cs
Outdated
Show resolved
Hide resolved
/// <param name="features">The features to be updated.</param> | ||
Task UpdateAsync(IEnumerable<string> features); | ||
/// <param name="features">The feature(s) to be updated.</param> | ||
Task UpdateAsync(params string[] features); |
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.
FYI this is a breaking change, but it's not something that anybody should actually notice.
…Manager.UpdateAsync(IEnumerable<string>) (#15909) Co-authored-by: Zoltán Lehóczky <[email protected]>
Fixes #4917
No breaking changes, but we should remove the obsolete method before a major release