var tmpGraphic = new Graphic({
attributes: {
"objectid": someObjectID
"someAttribute" : someAtrribute
}
});
featureLayer.applyEdits({
updateFeatures: [tmpGraphic]
}).then....
The applyEdits request shows the geometry for the graphic as null, thus overwriting the geometry on the feature layer.
I assume this is new as it hasn't been happening before...
Any ideas?