MaskingTechnology / comify

Comic based social network built with Jitar
GNU Affero General Public License v3.0
6 stars 1 forks source link

Aggregation resilience #343

Open basmasking opened 2 weeks ago

basmasking commented 2 weeks ago

For all aggregates, the data loading now relies on the correctness of the data in the database. This leads to an application error when an item cannot get retrieved.

To make the application more resilient, we want to change the strategy of the aggregates to always return an array of results, regardless of a single item failing in the list. If an item fails, the error must be logged and the item skipped from the list.

johnmasking commented 1 week ago

This relates to the following aggregated functions: