Shared Properties - how to have expression for one type + is it legacy? #976
-
I would like to have a shared property between different types, where 1 of them isn't a property but a known expression. Example:
The Usage (that I want):
How can I do that? Note: I've also noticed the entire |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
"when/map" are legacy. Writing a union isn't There is no way to define |
Beta Was this translation helpful? Give feedback.
"when/map" are legacy. Writing a union isn't
There is no way to define
builder
in a single place unfortunately.