Keep the `igdb-api` JSON schema in sync with the backend
mars885 opened this issue · 0 comments
mars885 commented
The video entities coming from the IGDB API do not contain name
field sometimes, which causes an error when trying to load a game inside the game info screen, since that field is required in the JSON schema.
Another issue arises in terms of what to show on the UI side. Two solutions:
- Display some kind of placeholder text, like
Video
orTrailer
. - Make the video's thumbnail take the height of the missing title