hackerspace-ntnu/website-next

chore: Add warnings if database is in an illegal state in terms of relations

Open

#165 geöffnet am 28. Sept. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1 Fork)auto 404
good first issue

Repository-Metriken

Stars
 (9 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

If a row in a table is supposed to have two translations, one for Norwegian and one for English, we should add warnings that get printed to the console to inform of an illegal state in the database. The code won't be affected, as we will just get the first translation the database returns. However, it is still useful to go and fix manually, if this ever happens.

Contributor Guide