hey everyone, quick question about arrow optics. I...
# arrow
p
hey everyone, quick question about arrow optics. Is declaring a
companion object
really necessary on each data class annotated with
@optics
? The error is quite obvious:
Copy code
error: error: @optics annotated class co.jupiter.legacy.content.domain.Content needs to declare companion object.
But the docs don't show this at all