RAWG snapshots fail: parent_achievements_count decodes as the wrong type #41

Closed
opened 2026-09-30 22:59:50 +02:00 by tim · 1 comment
Owner

A game's snapshot falls back to the search hit with:

json: cannot unmarshal number into Go struct field GameSingle.parent_achievements_count of type string

The type is rawg-go's, generated from RAWG's own spec, which says parent_achievements_count is a string while the API sends a number. Fixed in rawg-go v1.3.1 by re-typing it in the overlay, as v1.3.0 already did for reviews_text_count. heimdarr only needs the bump.

A game's snapshot falls back to the search hit with: ``` json: cannot unmarshal number into Go struct field GameSingle.parent_achievements_count of type string ``` The type is rawg-go's, generated from RAWG's own spec, which says `parent_achievements_count` is a string while the API sends a number. Fixed in rawg-go v1.3.1 by re-typing it in the overlay, as v1.3.0 already did for `reviews_text_count`. heimdarr only needs the bump.
tim referenced this issue from a commit 2026-09-30 22:59:55 +02:00
tim closed this issue 2026-09-30 22:59:55 +02:00
Author
Owner

Prod on v1.3.1 got past parent_achievements_count and tripped the next string-typed count, twitch_count (youtube_count sits right behind it). rawg-go v1.3.2 re-types both. Bump incoming.

Prod on v1.3.1 got past `parent_achievements_count` and tripped the next string-typed count, `twitch_count` (`youtube_count` sits right behind it). rawg-go v1.3.2 re-types both. Bump incoming.
tim referenced this issue from a commit 2026-09-30 23:10:49 +02:00
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/heimdarr#41
No description provided.