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
@objcfinalclassUser:RealmSwift.Object,Mappable{varid:Int=-1varname:String=""requiredconvenienceinit?(map:Map){self.init()}init(_ map:Map){
id <-map["id"]
name <-map["name"]}}
The crash happens when the unit test calls Mapper<User>(), I tried to replace it with Mapper<User>(shouldIncludeNilValues: true) and tried to remove final from the class User but no success.
Xcode: 12.4
Cocoapods: 1.10.1 (It's not using use_frameworks! nor use_modular_headers!)
Swift: 5.3.2
The text was updated successfully, but these errors were encountered:
Your JSON dictionary:
Your model:
What you did:
What you expected:
I exepected something like:
What you got:
The crash happens when the unit test calls
Mapper<User>()
, I tried to replace it withMapper<User>(shouldIncludeNilValues: true)
and tried to removefinal
from the classUser
but no success.Xcode: 12.4
Cocoapods: 1.10.1 (It's not using
use_frameworks!
noruse_modular_headers!
)Swift: 5.3.2
The text was updated successfully, but these errors were encountered: