refactor(core): extract common logic to base classes for controllers … #4
Annotations
1 error and 1 warning
commit-lint
You have commit messages with errors
⧗ input: refactor(core): extract common logic to base classes for controllers and hubs
- Introduced `WartBaseController`, consolidating shared functionality from `WartController` and `WartControllerJwt`.
- Simplified both controllers by inheriting from `WartBaseController` to reduce duplication.
- Extracted shared logic from `WartHub` and `WartHubJwt` into a new `WartBaseHub`.
- Both hubs now inherit from `WartBaseHub`, centralizing SignalR logic.
- Updated method signatures and reused existing utilities to enhance maintainability.
This refactoring reduces duplication, enhances modularity, and simplifies future maintenance.
✖ body's lines must not be longer than 100 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|
commit-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|