Closed armantorkzaban closed 2 years ago
I agree, that we should adjust the interface of booleanEquals to the turf_equality interface. Go ahead with it.
But an overarching topic is: I'm generally unsure what would be the right strategy to combine turf_equality (geojson-equality port), the booleanEquals, and on the == override #45, my comment on that one explains it further: https://github.com/dartclub/turf_dart/issues/45#issuecomment-1167109338
the function uses the Equality in its core, but does not pass the adequate arguments into the class. This results in limited tests for equality, in cases where 'shifting positions' or 'reverse direction' has to be taken into account for the two objects being compared. What do you think @lukas-h