When a JSON object returned from the server is different from the object expected on the client, the serialized object just make it empty and do not return any error.
For example:
Client object expected
class UserInformation:EVObject
{
var username: String?
var password: String?
}
Server object sent
{error:"An error message"}
Result
Result object returns with success, empty UserInformation and no errors
Expected
Result object returns with serialization error and nil Result.value
When a JSON object returned from the server is different from the object expected on the client, the serialized object just make it empty and do not return any error.
For example:
Client object expected
class UserInformation:EVObject { var username: String? var password: String? }
Server object sent
{error:"An error message"}
Result
Result object returns with success, empty UserInformation and no errors
Expected
Result object returns with serialization error and nil Result.value