is there a way to generate arrow lenses at compile time without annotating the class? I want to use arrow just for my unit tests and no arrow deps in main sources.
christophsturm
04/27/2022, 8:14 AM
right now I’m using reflection lenses and that works great, but always wondering if theres a better way
s
simon.vergauwen
04/27/2022, 9:31 AM
This is not possible atm.
Arrow Optics is waiting on FIR compiler plugins to be stable, then we can offer all optics in a synthetic and then inline the code bytecode at the call site.
c
christophsturm
04/27/2022, 9:36 AM
ok no problem, the reflection based lenses work great for me.