Closed kevinswiber closed 5 years ago
This public hash property is not ideal. I've been discussing a potential fix with @AdamMagaluk. This would require a change to the device model to expose Device.prototype.onRemoteFetch and Device.prototype.onRemoteUpdate functions, which can run logic/alter the API response going out or the API request coming in, respectively. This will require some design discussion.
Hash is required on PUT updates. Updating bare devices (those that don't use AutoScout directly) to inherit saved properties.