Using Effect Data and Effect Schema Together in Domain Modeling

Hey folks - glad that I stumbled over effect - what a great framework!

I have a question though - sth that is not quite clear to me.
There is Effect Data and Effect Schema -
what is the idiomatic way to work with them?

Model the Domain using the ADTs of Effect Data and use Effect Schema at the boundaries of the domain?

How would I map from an input of type
unknown
to my domain object?
Was this page helpful?