ivy-wallet icon indicating copy to clipboard operation
ivy-wallet copied to clipboard

[Domain] Build `CategoryStatsUseCase`

Open ILIYANGERMANOV opened this issue 1 year ago • 3 comments

Please confirm the following

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)

ILIYANGERMANOV avatar Apr 16 '24 17:04 ILIYANGERMANOV

Thank you @ILIYANGERMANOV for raising Issue #3144! 🚀 What's next? Read our Contribution Guidelines 📚.

Tagging @ILIYANGERMANOV for review & approval 👀

ivywallet avatar Apr 16 '24 17:04 ivywallet

I'm on it

isaacnguyen0809 avatar Apr 27 '24 15:04 isaacnguyen0809

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.

ivywallet avatar Apr 27 '24 15:04 ivywallet