While matching read OK, it is also a little confusing, since it sounds like the value itself is a snapshot, but the helper is really taking a snapshot of the value to be compared.
We'll keep the old version around for a long time as a soft deprecation, but whenever we get close to realizing a 2.0 we can make a harder break.
Let's introduce a more streamlined version of
assertSnapshot
that takes anof
instead of amatching
parameter:While
matching
read OK, it is also a little confusing, since it sounds like the value itself is a snapshot, but the helper is really taking a snapshot of the value to be compared.We'll keep the old version around for a long time as a soft deprecation, but whenever we get close to realizing a 2.0 we can make a harder break.