Encoder construction can diverge for recursive schemas with incorrect or absent name tags. It would be nice if encodeToWith could return a Result allowing to observe the non-termination.
Note that this is not the same as encoding cyclic data, which will diverge too.
Encoder construction can diverge for recursive schemas with incorrect or absent name tags. It would be nice if
encodeToWithcould return aResultallowing to observe the non-termination.Note that this is not the same as encoding cyclic data, which will diverge too.