Conversion from T to StringKey for use in datastores, URLs, etc. The format must
be stable. Changes must be backwards- and forwards-compatible so the string form of the key
can be stored in databases and passed on the wire by different client versions.
These conversions must be invertible; that is, for val t: T, reads(writes(t)) == Some(t).
Conversion from T to StringKey for use in datastores, URLs, etc. The format must be stable. Changes must be backwards- and forwards-compatible so the string form of the key can be stored in databases and passed on the wire by different client versions.
These conversions must be invertible; that is, for
val t: T
,reads(writes(t)) == Some(t)
.