TMDbLib icon indicating copy to clipboard operation
TMDbLib copied to clipboard

Nullable int Id in TMDbLib.Objects.TvShows.TvEpisodeInfo

Open WolfgangRoggen opened this issue 4 years ago • 2 comments

You made the property: TMDbLib.Objects.TvShows.TvEpisodeInfo.Id nullable. This seems not correct. In my understanding the Id cant be null. Same for: TMDbLib.Objects.TvShows.TvSeason.Id

Please have a look ainto the description of the Api. Episode and Season have 2 Id's one "string _id" and one "int id" (see underscore)

And afaik you have no Property for the string _id.

Regards Wolfgang

WolfgangRoggen avatar May 04 '21 01:05 WolfgangRoggen

The missing _id is definitely a bug. But as for the nullable int - there is a risk that this may be because the object is used in two places. It may be that the other place doesn't provide an id.

LordMike avatar May 04 '21 20:05 LordMike