You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 2.0.4 you "Added equals override method to all Models" which allows us to unit test our code, thanks! Newer versions of Dart specify you must also override 'hashCode' when overriding '=='. As part of our CI pipelines we run 'dart fix' which automatically fixes issues like this one. This now means that each time we run build runner, the generated code reverts to having these lint issues highlighted. Would it be possible to also override 'hashCode' as well as '=='?
The text was updated successfully, but these errors were encountered:
In version 2.0.4 you "Added equals override method to all Models" which allows us to unit test our code, thanks! Newer versions of Dart specify you must also override 'hashCode' when overriding '=='. As part of our CI pipelines we run 'dart fix' which automatically fixes issues like this one. This now means that each time we run build runner, the generated code reverts to having these lint issues highlighted. Would it be possible to also override 'hashCode' as well as '=='?
The text was updated successfully, but these errors were encountered: