We released a library that generates data classes for testing with the help of KSP. If anyone finds it useful or want to give feedback feel free! :) https://github.com/bluegroundltd/fixtures
👍 1
🙌 2
s
Sam
12/09/2022, 10:20 AM
Heya, love the idea of this, are there any plans to support Kotlin Multiplatform?
v
Vaios Tsitsonis
12/09/2022, 10:44 AM
We have not thought about it. But definitely we can give a try. Give us a couple of days to experiment and probably we can support it 🙂
🎉 1
a
arekolek
02/27/2023, 8:18 PM
I was thinking about doing something similar and stumbled upon your library
I like it, I got it to work and it does what I wanted, but soon enough I reached a blocker so I reported an issue on github
as for other feedback:
• setup could be better documented, it does not have complete info (where to put what to get started)
• it would be nice to be able to customize the
create*
function name prefix (I wanted to have no prefix)
• adding the annotation doesn’t cause the function to be created until I run
gradlew kspKotlin
manually, I’m new to KSP, but I was used to being able to count on processing like this to run automatically - some tips on how to streamline this would be good