Added documentation for behaviour of this method and rejected pull request.
Andrzej Wójcik (Tigase) commented 4 years ago
I've reviewed my statement on equality check. I've removed implementation of Equatable protocol from Node class and all its subclasses. Moved from equality checks in element child removal code to reference comparisons and update documentation about that. I've also added detailed equality check method and added unit tests for that.
As mentioned in https://github.com/tigase/tigase-swift/pull/7
Element
class does only a shallow equality check but it is undocumented behaviour and not a bug.