Updates the diff function to track particular objects by identity
Updates the _DiffableObject protocol to work with value types assuming an object identifier is available. This allows a wrapper around an object to be used as the source of the diff, which is useful for TCA's upcoming Shared type, which can use dynamic member lookup to project into a smaller part of a type
This PR:
diff
function to track particular objects by identity_DiffableObject
protocol to work with value types assuming an object identifier is available. This allows a wrapper around an object to be used as the source of the diff, which is useful for TCA's upcomingShared
type, which can use dynamic member lookup to project into a smaller part of a type