Brightspace / polymer-siren-behaviors

utility library for shared behaviors for building siren resource based web-components
Apache License 2.0
0 stars 5 forks source link

Function to remove entity from store. #59

Closed wongvincent closed 4 years ago

wongvincent commented 4 years ago

Useful when the response returns null, like in the case of a DELETE API request. The entity store should remove the entity from the entity store. I have updated the siren-sdk SirenAction file to call this remove function if the response is null.