Are nullable values not supported for optics? ```...
# arrow
s
Are nullable values not supported for optics?
Copy code
@optics
data class Stuff(val maybeString: String?) { companion object }

fun main() {
    val someStuff = Stuff("Value")
    Stuff.maybeString.set(someStuff, null) // => Null can not be a value of a non-null type String
}
1
t
you should see
nullableMaybeString
s
Oh, wow, I can't believe I didn't see that! Thanks, @than_! 🙈