fix(api): handle null kill counts with COALESCE in ranking query (#84) - #97
fix(api): handle null kill counts with COALESCE in ranking query (#84)#97Rodrigoue9 wants to merge 1 commit into
Conversation
Code Review ✅ ApprovedWraps kill count fields in COALESCE to prevent null arithmetic errors and guarantee an empty array response on clean databases. No issues found. OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|
Cierro esta porque la #84 ya quedo resuelta en Que pasoLa #84 junto tres PRs: #97, #114 y #126. Las tres apuntan al mismo lugar, el Se mergeo #114, de @trexfr-ops, porque la issue estaba asignada a esa persona y porque ademas del Contexto que no se veia desde afueraLos PRs de fork quedan en Gracias por el laburo. Hay issues abiertas sin asignar: comenta con un plan concreto y te la asigno. |
Title
fix(api): ensure ranking query handles null kill counts and returns empty array on clean databases (#84)
Description
listCharacterRankingquery inapi/src/repositories/characters.tsto wrapciudadanos_matadosandcriminales_matadosinCOALESCE(..., 0)./rankingendpoint returns HTTP 200 with an empty list ({ characters: [] }) on clean database setups.Closes #84