Downsides to making a common type like URL conform to Identifiable?

This is called a retroactive conformance and you can read the nuances here:

And yes, the airtight solution is to wrap it in another type like you have both demonstrated.

1 Like