envelope-zero / backend

Serves the API and contains the application logic
Other
6 stars 3 forks source link

Move envelope and budget sum calculation to AfterFind() #302

Closed morremeyer closed 1 year ago

morremeyer commented 2 years ago

Is your feature request related to a problem? Please describe. Budget and envelope sum calculations currently need to be called explicitly for each resource.

Describe the solution you'd like The computation can be done in the AfterFind() method to reduce code complexity.

Describe alternatives you've considered None

Additional context None

morremeyer commented 1 year ago

Obsolete with the refactoring in #813 and #816.