Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove implementation of SRGImageMetadata for Program, as imageUrl is…
… nullable. (#35) # Motivation `Program.imageUrl` can be null, as defined in the swagger: <img width="336" alt="Capture d’écran 2024-04-05 à 11 56 48" src="https://github.com/SRGSSR/srgdataprovider-android/assets/12703133/6f2a2830-ca4b-425f-9208-5b5447922d02"> If no imageUrl is set, Program items can't be parsed. It occurs in RTS TV Guide [2024-04-05 for RTS](https://il.srgssr.ch/integrationlayer/2.0/rts/programGuide/tv/byDate/2024-04-06?reduced=false&vector=APPPLAY). An item has no imageUrl. # Solution approach Remove implementation of `SRGImageMetadata` for `Program`, as `imageUrl` is nullable. `SRGImageMetadata.imageUrl` shouldn't be nullable as image url for other il objects is non null.
- Loading branch information