realm?.add 'add(_:update:)' is unavailable: Pass .error, .modified or .all rather than a boolean. .error is equivalent to false and .all is equivalent to true.

 

realm.add(object, update: .all)

 

https://github.com/RxSwiftCommunity/RxRealm/issues/128

 

Need to upgrade to depend on RealmSwift 3.17 rather than still 3.14 · Issue #128 · RxSwiftCommunity/RxRealm

Getting warnings for public func add(update: Bool = false, onError: ((O?, Error) -> Void)? = nil) -> AnyObserver Warning: 'add(_:update:)' is deprecated: Pass .error,...

github.com

 

반응형

+ Recent posts