can you do lenses for data classes from 3rd part sources ?
since i cannot put a annotation on them
or do i need to copy them into a new class that then has lenses ?
b
Big Chungus
12/14/2020, 1:14 PM
Have you tried this:
@Lenses
typealias TMP = MyExternalDataClass
n
Nikky
12/14/2020, 1:14 PM
i will try that
b
Big Chungus
12/14/2020, 1:19 PM
Let me know if it works (another big win for kotlin if it does!)
n
Nikky
12/14/2020, 1:22 PM
apparently not
(i am not the main person working on this, but my teammate has not been on this slack before and the invite procedure takes time)
j
Jacob Otto
12/15/2020, 10:04 AM
@Nikky, thanks for bringing this up. I tried with the typealias, but it does not work.