hi @Andrew_Morgan, yes I defined my primary key and the taskId
is not ind the required
section. Sorry for the incomplete example!
Also the synchronization works. The only thing is the validation from the object after I inserted it via sdk:
because of the null type here:
So far I ignored that because the sync between mobile works. But now I started to implement a WebApp with realm-web
. This works until I try to update a object that was created by a IOS-Device via the WebApp.
If I want to update just one field from the object with the update
$set
:
"update": {
"$set": {
"state": {
"$numberInt": "1"
}
...
I get the same error like on the mongodb-validation step:
could not validate document: note: Invalid type. Expected: undefined, given: null taskId: Invalid type. Expected: undefined, given: null
thanks for looking into this