Is there a best practice on if checking in generat...
# ksp
t
Is there a best practice on if checking in generated code is good practice? Instinctually I would think the answer would be "don't check in generated code", but I could see potential frustration with an invalid looking project in the ide before ksp runs the first time
n
We don't check in generated code. Our project is a Kotlin Multiplatform project targeting Android and iOS. We accept that the places where we do reference the generated code directly in Kotlin, that we must compile the project once to see the generated code.
y
You can run the ksp task as part of the Gradle sync which Apollo started doing https://twitter.com/sellmair/status/1619308362881187840?s=46&t=Ju0fm4ppyyxu15kc1f3Wjg
t
Awesome tip! Thanks