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
After regenerating the chopper code, it became like this and now an error occurs when trying to log in
Error:type 'Response' is not a subtype of type 'Response<LoginJsonPost$Response>' in type cast:
However, the swagger code for this method has not changed.
Please tell me why this is happening, what needs to be done to return to the previous state?
The text was updated successfully, but these errors were encountered:
Old version returned Object as a return type. New version supports responses as models. In your case it's LoginJsonPost$Response. Previously, you had Object and needed to parse it manually.
Regarding your error (Response<LoginJsonPost$Response>' in type cast) I need more details. On which line it's occurs?
The project was like this from the beginning and everything worked well.
After regenerating the chopper code, it became like this and now an error occurs when trying to log in
Error:type 'Response' is not a subtype of type 'Response<LoginJsonPost$Response>' in type cast:
However, the swagger code for this method has not changed.
Please tell me why this is happening, what needs to be done to return to the previous state?
The text was updated successfully, but these errors were encountered: