Would it be possible to uss KSP to freeze every ob...
# multiplatform
p
Would it be possible to uss KSP to freeze every object in its initialization? Our code is super fragile because we basically always need to remember to freeze all the objects we create or we see crashes on ios
j
No. You cannot modify classes.
You'll need to write a compiler plugin
p
From the KSP readme:
Kotlin Symbol Processing (KSP) is an API that you can use to develop lightweight compiler plugins.
That sounds like what I want