lemmy/crates
Dessalines d075acce43
Make all single-fetch database calls return an Option. (#4617)
- Diesel ordinarily throws an error when no results are returned for a
  single fetch, which is a bit confusing. This PR ensures that the
  missing value cases are all caught, and wrapped with new LemmyErrors,
  rather than diesel errors.
- Fixes #4601
2024-04-16 14:48:15 +02:00
..
api Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
api_common Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
api_crud Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
apub Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
db_perf Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
db_schema Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
db_views Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
db_views_actor Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
db_views_moderator View mod history for a post or comment. Fixes #4162 (#4491) 2024-03-04 11:42:25 -05:00
federate Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
routes Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
utils Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00