can you do lenses for data classes from 3rd part s...
# fritz2
n
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
Have you tried this:
Copy code
@Lenses
typealias TMP = MyExternalDataClass
n
i will try that
b
Let me know if it works (another big win for kotlin if it does!)
n
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
@Nikky, thanks for bringing this up. I tried with the typealias, but it does not work.