You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was implementing the TraktClient.Users.AddCustomListItemsAsync function as mentioned in the documentation. After debugging 3 hours at 2 in the morning, i finally downloaded the code to debug the lib also. Found out that your statement was wrong.
_listItemsPost.Movies = new List<TraktUserCustomListItemsPostMovie>(); should actually be _listItemsPost.Movies = new List<ITraktUserCustomListItemsPostMovie>();
I was implementing the TraktClient.Users.AddCustomListItemsAsync function as mentioned in the documentation. After debugging 3 hours at 2 in the morning, i finally downloaded the code to debug the lib also. Found out that your statement was wrong.
Trakt.NET/Source/Lib/Trakt.NET/Objects/Post/Users/CustomListItems/Implementations/TraktUserCustomListItemsPostBuilder.cs
Line 462 in 87efcb7
_listItemsPost.Movies = new List<TraktUserCustomListItemsPostMovie>();
should actually be_listItemsPost.Movies = new List<ITraktUserCustomListItemsPostMovie>();
That is why the cast here doesnt work
Trakt.NET/Source/Lib/Trakt.NET/Objects/Post/Users/CustomListItems/Implementations/TraktUserCustomListItemsPostBuilder.cs
Line 59 in 87efcb7
You already did this for the People list
Trakt.NET/Source/Lib/Trakt.NET/Objects/Post/Users/CustomListItems/Implementations/TraktUserCustomListItemsPostBuilder.cs
Line 474 in 87efcb7
TraktApiSharp: 1.0.0-alpha3
The text was updated successfully, but these errors were encountered: