Failed schema validation after insert with sdk's becuase of null value

hi @ScribeDev my solution was:

I removed the relationship in the sync definition (relationship.json when you export your realm-app)

Then you could do something like:

public ObjectId Departement

and set a default Value of: (swift style)

ObjectId.init("000000000000000000000000")