I updated to Backendless 5 and corrected a lot of problems. I have the following code that used to work:
class func updateCurrentUser(with Object: [Objects]) -> Promise {
currentUser.object = Object
return Promise { (fulfill, reject) in
backendless.userService.update(currentUser, response: { responseUser in
fulfill(responseUser!)
}, error: { fault in
reject(fault!)
})
}
}
The Object is correct and is of type “BackendlessEntity”, This object should fill out another table that has a relational link to the user table. The returned user no longer has the object which makes no sense to me and the table remains empty for my users. If i try and retrieve the data it also doesn’t exist.
there doesn’t seem to be any change between the Backendless 3 or Backendless 5 functions for this operation. Could you please clarify why this is not working?