I forgot to mention that it’s a library. So I cann...
# random
m
I forgot to mention that it’s a library. So I cannot rely on files.
n
unless the files are bundled as resources with the library and is loaded from classpath
m
Yes, but as far as I know resources bundling is problematic with multiplatform on /JS and /Native?
n
but i guess this is not possible on js target
m
Anyway it’s working now. I just had to split up the code in 600 files 😄
n
i had a issue where i had too many generated
val
in a single oblect, breaking bytecode limits.. but turning it into inline getter functions was fine because that is functions and also is inlined by the consumer at the end and it compiled
val generatedStuff: String inline get() = "blub"
m
I only had one property so that wasn’t an option ^^ Putting the data into 600 files also has the benefit of lazy loading. File-level properties are only inititalized on first access (of the file facet).