Closed BenjaminGroseclose closed 5 years ago
@ianbro Think you might have pushed an error. Looks like in the BudgetRepo there is an error casting from BudgetDurationBase to BudgetDurationModel
Is it a build error? Master is building fine for me. Where is the error?
@ianbro If you could pull down this branch and fix the BudgetDuration issue.
Looks like it is related to my new Update budget request contract and your new budget duration contract
Lol yeah you just never implemented my change in model for duration. I'm making the necessary changes to get it working.
OK, I just fixed the build errors. There's some logic I'mma let you finish though since it's your PR. The UpdateBudgetRequestContract has to accept either a MonthlyDaySpanBudgetDurationContract or a MonthlyBookEndedBudgetDurationContract. Look how I do it in the CreateBudgetRequestContract and that converter.
Also, keep in mind, make sure the user can change the duration from a MonthlyDaysSpanDuration to a MonthlyBookEndedDuration and vice versa. Ask me if you have questions. It gets kind of complicated.
@ianbro something like that?
Yes!
@ianbro I have lost track anything else I need to do before I merge
lol
Haha thanks sorry lost track updating it now!
@ianbro updated the converters and the request name