You’d still have to type safety to not assign a `U...
# language-proposals
m
You’d still have to type safety to not assign a
Username
to an
EmailAddress
for example.
a
A map method on inline classes may also solve this specific unwrap/wrap usecase
m
True, good idea! The code wouldn’t be as nice and concise but it may be way easier to implement 🤔