graphql-to-dart
graphql-to-dart copied to clipboard
Implement Equatable
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.