Steps:
- create new entity
- create child entity just with objectId (must contatin at least one mandatory field), this entity shoud be alerady existed so I just want to create relationship
- set entity from step 2 as related to entiti from step 1
- save enity from step 1
result =>
FAULT = ‘1165’ [Column ‘Name’ cannot be empty]
where ‘Name’ is Mandatory filed of already existed entity
reproduces for both iOS and Android sdk
Is it bug or I should do it in some other way?
let child = Child()
child.objectId = "some_id" // entity with this id already exist
let someObj = Object() // new one
someObj.child = child
Backendless.sharedInstance()?.persistenceService.save(someObj, response: { (response: Any?) in
}, error: { (fault: Fault?) in
// error here
})