Skip to content

Refactor: Add Repository Methods and Remove Direct Access to SubscriptionIndexRepository.repo#806

Merged
aji70 merged 3 commits into
MyFanss:mainfrom
Meshmulla:main
Apr 24, 2026
Merged

Refactor: Add Repository Methods and Remove Direct Access to SubscriptionIndexRepository.repo#806
aji70 merged 3 commits into
MyFanss:mainfrom
Meshmulla:main

Conversation

@Meshmulla
Copy link
Copy Markdown
Contributor

closes #589

PR refactors backend data access by introducing proper repository methods and removing direct access to the private SubscriptionIndexRepository.repo. This improves encapsulation, maintainability, and adherence to repository patterns.

Changes Included:
Added query methods to SubscriptionIndexRepository
Replaced all direct .repo access with new repository methods
Updated affected services/controllers to use the new abstraction
Ensured proper handling of stale, disconnected, or invalid states
Added unit and integration tests for new repository methods
Followed existing project patterns (linting, modules, security)

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 24, 2026

@Meshmulla Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@aji70 aji70 merged commit 89b75c1 into MyFanss:main Apr 24, 2026
1 of 8 checks passed
aji70 added a commit that referenced this pull request Apr 30, 2026
Refactor: Add Repository Methods and Remove Direct Access to SubscriptionIndexRepository.repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop reaching into private SubscriptionIndexRepository.repo

2 participants