I am not sure how the encoders/decoders work for t...
# arrow
s
I am not sure how the encoders/decoders work for those frameworks but you could potentially do something like
Copy code
val encoder : Encoder<Foo?> = ...
val optionEncoder: Encoder<Option<Foo>> = encoder.map { Option.fromNullable(it) }