ivy-wallet
ivy-wallet copied to clipboard
[Domain] Build `CategoryStatsUseCase`
Please confirm the following
- [X] I checked the current issues for duplicate issues.
What would you like to improve?
- Follow the same pattern as
AccountStatsUseCase
Data model:
data class CategoryStats(
val income: StatSummary,
val expense: StatSummary,
) {
companion object {
val Zero = AccountStats(
income = StatSummary.Zero,
expense = StatSummary.Zero,
)
}
}
Because...
- Having a proper domain layer is important
Description
No response
Success Criteria
- Unit tests
- Property-based tests
- Follows all Ivy developer guidelines (expect Requests for changes on the PR - this is a critical piece of code for the project)
Thank you @ILIYANGERMANOV for raising Issue #3144! 🚀 What's next? Read our Contribution Guidelines 📚.
Tagging @ILIYANGERMANOV for review & approval 👀
I'm on it
Thank you for your interest @isaacnguyen0809! 🎉 Issue #3144 is assigned to you. You can work on it! ✅
If you don't want to work on it now, please un-assign yourself so other contributors can take it.
Also, make sure to read our Contribution Guidelines.