Using `Schema` for Encoding/Decoding of ADTs Similar to `Data.taggedEnum`

Is there any way to do what Data.taggedEnum does but using
Schema
? Often i need encoding/decoding for the ADT's i declare.
Was this page helpful?