LaxarJS / laxar-patterns

Utilities to implement standard event patterns in LaxarJS widgets
MIT License
5 stars 2 forks source link

Remove isSame function from resources #80

Closed alex3683 closed 7 years ago

alex3683 commented 7 years ago

WIthin resources there is still a generic definition of an isSame function to compare two resources for identity based on a list of given attribute paths. This should be removed, as this is clearly in a functional scope and should not be part of LaxarJS.

alex3683 commented 7 years ago

Implemented on master (v2.0.0)

Breaking Change

The function resources.isSame was removed. Previously it was used to compare two resources for identity on a functional level based on certain attributes. Since this should be implemented in business code, this generic function was removed without replacement. For migration or as base for your own implementation, feel free to copy the version from the master-1.x branch.