-
Notifications
You must be signed in to change notification settings - Fork 688
[Domain] Build AccountBalanceUseCase #3418
[Domain] Build AccountBalanceUseCase #3418
Conversation
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some issues with the logic + crashes. The code can be also be simplified a bit
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/account/AccountBalanceUseCase.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
Hey @rodrigoliveirac sorry for all the comments and nitpicking! It's just a core API that we'll use a lot and I want us to make it as simple and elegant as possible 🙌 Btw, great progress - I like the new builder + naming! |
No need to apologize! I definitely understand the importance of that. I'm enjoying the opportunity to grow with this. Thank you for all! |
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
shared/domain/src/main/java/com/ivy/domain/usecase/BalanceBuilder.kt
Outdated
Show resolved
Hide resolved
…comes and transfersIn
…comes and one transfersIn
109f614
to
8153110
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rodrigoliveirac let's merge this one and you can build on top of it in a follow-up PR 🚀
Ok, I'll still be working in the same branch for that 👊 |
Pull request (PR) checklist
Please check if your pull request fulfills the following requirements:
What's changed?
Describe with a few bullets what's new:
Does this PR close any GitHub issues? (do not delete)
AccountBalanceUseCase
#3143Troubleshooting GitHub Actions (CI) failures ❌
Pull request checks failing? Read our CI Troubleshooting guide.