graphql-to-dart icon indicating copy to clipboard operation
graphql-to-dart copied to clipboard

Implement Equatable

Open micimize opened this issue 5 years ago • 0 comments

closes #21

This is a pretty breaking change, right on the heals of the last one. It makes all classes @immutable in order to extend Equatable, thereby rendering many helpers (addAll, etc) useless. In their place, we now have copyWith, mergedLeftWith and mergedRightWith

Migration might be irritating because of this, but very worth it, as it gives you true value-based equality using == on all classes.

micimize avatar Jan 08 '20 21:01 micimize