You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is the maybe in Compat, but I'd rather have it more explicitly called out in the places I need it.
Also perhaps some kind of hybrid optional thing that disregards null as well as missing fields. The exact behaviour of that would need thinking about some, since when it comes to encoding Nothing there is a choice to be made - omit the field or specify null? It kinda suffers from the same ambiguity as nested Compat nulls. Maybe it's better just to have to deal with it manually, on a case by case basis by having to stack the optional and nullable and then use dimap to join / pure. 🤔
The text was updated successfully, but these errors were encountered:
There is the
maybe
inCompat
, but I'd rather have it more explicitly called out in the places I need it.Also perhaps some kind of hybrid optional thing that disregards
null
as well as missing fields. The exact behaviour of that would need thinking about some, since when it comes to encodingNothing
there is a choice to be made - omit the field or specifynull
? It kinda suffers from the same ambiguity as nestedCompat
nulls. Maybe it's better just to have to deal with it manually, on a case by case basis by having to stack theoptional
andnullable
and then use dimap tojoin
/pure
. 🤔The text was updated successfully, but these errors were encountered: