Closed renovate[bot] closed 2 months ago
[!WARNING]
Rate limit exceeded
@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 17 minutes and 53 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. 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. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 94819c42a55042a7da5a42bed32d35feb6631ec5 and bff2151823dc35d23e406465f16aa95958d8caf6.
The recent update includes an upgrade of the MockQueryable.NSubstitute
package from version 7.0.1
to 7.0.2
in the Directory.Packages.props
file. Additionally, various files have undergone formatting improvements, whitespace adjustments, and refactoring of variable declarations and namespaces, enhancing code clarity and organization. Specific changes target visibility adjustments, minor method modifications, and the reorganization of namespaces across multiple classes and tests, with no alterations to core logic or functionality.
Files | Change Summary |
---|---|
Directory.Packages.props | Upgraded MockQueryable.NSubstitute from 7.0.1 to 7.0.2 |
Application/Interfaces/IRepository.cs | Removed a blank line at the end of the interface |
Application/Interfaces/IUnitOfWork.cs | Changed namespace from Application.Data to Application.Interfaces |
Application/Libraries/Create/CreateLibraryCommandHandler.cs | Changed access from internal to public , renamed command to request in Handle method |
Application/Libraries/Delete/DeleteLibraryCommandHandler.cs | Removed unused imports and corrected parameter name from librayRepository to libraryRepository |
Application/Libraries/GetById/GetLibraryQueryHandler.cs | Formatting adjustments, no functional changes |
Application/Libraries/ILibraryLocalStorage.cs | Changed namespace from Persistence.LocalStorage to Application.Libraries |
Application/Libraries/List/GetLibrariesQuery.cs | Minor formatting adjustments, no functional changes |
Application/Libraries/List/GetLibrariesQueryHandler.cs | Changed namespace from Persistence.Queries.Libraries to Application.Libraries.List |
Application/Libraries/Update/UpdateLibraryCommand.cs | Minor formatting change, removed space between record name and parameters |
Application/Libraries/Update/UpdateLibraryCommandHandler.cs | Formatting adjustments, no functional changes |
Application/ProjectDependencyInjection.cs | Removed unnecessary whitespace |
Application/Users/Create/CreateUserCommandHandler.cs | Removed unused using directives, reformatted user retrieval logic |
Domain/Extensions/StringExtension.cs | Removed unnecessary blank lines in ToPascalCase and RemoveDiacritics methods |
Domain/Libraries/LibrariesError.cs | Corrected typo in Duplicate error message |
Domain/Libraries/Library.cs | Changed class declaration formatting for better readability |
Domain/Primitives/Entity.cs | Standardized formatting of property accessors |
Domain/Primitives/Result.cs | Transformed expression-bodied members to full method bodies for clarity |
Domain/Primitives/ResultBase.cs | No changes to the signatures of exported or public entities |
Domain/Users/UsersError.cs | Minor formatting adjustments |
Persistence/ApplicationDbContext.cs | Corrected formatting in OnModelCreating method |
Persistence/LocalStorage/LibraryLocalStorage.cs | Added import for Application.Libraries , slight formatting changes |
Persistence/ProjectDependencyInjection.cs | Removed unused using directives, minor formatting updates |
Persistence/Queries/LibraryReadService.cs | Used var for type inference, refactored sorting logic to a switch expression |
Persistence/Queries/UserReadService.cs | Used var for type inference, refactored sorting logic to a switch expression |
Persistence/Repositories/LibraryRepository.cs | Minor formatting adjustments in GetByIdAsync method |
Persistence/Repositories/UserRepository.cs | Minor formatting adjustments in GetByIdAsync method |
Persistence/UnitOfWork.cs | Used var for type inference in variable declarations |
Web/Components/Pages/Libraries/LibraryForm.razor.cs | Removed unnecessary whitespace and aligned braces for readability |
Web/Configuration/Auth0Configuration.cs | Changed Auth0Configuration to sealed , modified IAuth0Configuration to internal |
Web/CustomAuthenticationStateProvider.cs | Minor restructuring of conditional logic in GetAuthenticationStateAsync method |
Web/EndPoints/AccountsApi.cs | Changed class declaration to sealed |
Web/Program.cs | Minor formatting change to lambda expression in AddAuth0WebAppAuthentication |
Web/StartupInfo.cs | Changed constants to private const , used var for type inference |
tests/Application.UnitTests/Libraries/CreateLibraryCommandTests.cs | Corrected variable name from _librayRepositoryMock to _libraryRepositoryMock , updated imports |
tests/Application.UnitTests/Libraries/DeleteLibraryCommandTests.cs | Adjusted using directives, no functional changes |
tests/Application.UnitTests/Libraries/GetLibraryCommandTests.cs | Reordered using directives, no functional changes |
tests/Application.UnitTests/Libraries/ListLibraryCommandeTests.cs | Updated import statements and formatting adjustments |
tests/Application.UnitTests/Libraries/UpdateLibraryCommandTests.cs | Adjusted using directives, no functional changes |
tests/Application.UnitTests/Users/CreateUserCommandTests.cs | Removed unused using directive, no functional changes |
tests/Base.Integration.Tests/BaseIntegrationTest.cs | Removed unused using directives, no functional changes |
tests/Base.Integration.Tests/IntegrationTestWebAppFactory.cs | Added import for Application.Libraries |
tests/Domain.UnitTests/Extensions/StringExtensionsTests.cs | Used var for type inference in variable declarations |
tests/Persistence.Integration.Tests/Integration/LocalStorage/LibraryLocalStorageTests.cs | Minor formatting adjustments |
tests/Persistence.Integration.Tests/Integration/Queries/LibraryReadServiceTests.cs | Minor formatting adjustments |
tests/Persistence.Integration.Tests/Integration/Queries/UserReadServiceTests.cs | Minor formatting adjustments |
tests/Persistence.Integration.Tests/PagedListTests.cs | Renamed namespace from Persistence.Integration.Tests to Persistence.Tests , minor formatting adjustments |
tests/Persistence.Integration.Tests/UnitOfWorkTests.cs | Changed namespace from Persistence.Integration.Tests to Persistence.Tests , minor formatting adjustments |
tests/Web.Tests/LibrariesListTest.razor | Added import for MockQueryable.EntityFrameworkCore |
In the burrow deep, where updates play,
A package hopped in, brightening the day.
From7.0.1
to7.0.2
,
With fixes and features, oh, what a view!
A leap for the code, so happy and spry,
Hooray for the change, let our project fly! 🐰✨
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?
Coverage variation | Diff coverage |
---|---|
Report missing for d80d5e6e7787687cf13f3dd3d44165b95dc68285[^1] | :white_check_mark: 98.37% (target: 80.00%) |
Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
This PR contains the following updates:
7.0.1
->7.0.2
Release Notes
romantitov/MockQueryable (MockQueryable.NSubstitute)
### [`v7.0.2`](https://togithub.com/romantitov/MockQueryable/releases/tag/v7.0.2) [#77](https://togithub.com/romantitov/MockQueryable/issues/77) BuildMock moved to MockQueryable.EntityFrameworkCore - Thanks [@skarllot](https://togithub.com/skarllot) **Full Changelog**: https://github.com/romantitov/MockQueryable/compare/v7.0.1...v7.0.2Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Summary by CodeRabbit
New Features
MockQueryable.NSubstitute
package for potential bug fixes and improvements.CreateLibraryCommandHandler
by changing visibility to public, improving accessibility.Bug Fixes
Refactor
var
for local variables and the removal of unnecessary whitespace.LibraryReadService
using a switch expression for improved clarity.Documentation
Tests