createdInstance
Makes minimal updates to an instance's properties and its nested properties using map-deep-merge.
connection.createdInstance(instance, props)
Calls map-deep-merge and triggers the 'created'
event on the instance and it's type
within a batch.
Parameters
- instance
{Instance}
:the instance that was just created whose properties will be updated.
- props
{Object}
:the new data the instance and children of the instance should be updated to look like.