Originally InvokedAction was just a type alias of Action.
Embedding was then used to avoid some lsp oddities.
Functions of Action can still be called on InvokedAction.
While that does not pose an issue for a clear distinction and to enforce a consistent usage it should prevented.
Use private composition instead of embedding.
Originally
InvokedAction
was just a type alias ofAction
. Embedding was then used to avoid some lsp oddities.Functions of
Action
can still be called onInvokedAction
. While that does not pose an issue for a clear distinction and to enforce a consistent usage it should prevented.related https://github.com/zaquestion/lab/pull/886