genericApplyPartialUpate
The genericApplyPartialUpate
function is used to update all the fields of fullObject
that are also in updatedPartialObject
. This is useful for updating certain fields of an object without having to specify all of the fields in the object. It has no return type. It's parameters are:
-fullObject
- the object that you would like to update
-updatedPartialObject
- a partial object that contains updated fields of fullObject