You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add to the documentation a section specific to getting up and running with Kotlin and KTE templates.
Points I've run into that would be good to document:
1- Kotlin templates need to be named with .kte, you can't use Kotlin code in a .jte file.
2- Add the jte-kotlin dependency using compileOnly so it doesn't bring in the Kotlin compiled (~60mb)
3- Various gotchas and error messages
Non-null parameters missing from a template (error isn't clear, but recognizable once it is known)
Null lists in a @for block error messages
4- Sub-tempate syntax:
I would like to add to the documentation a section specific to getting up and running with Kotlin and KTE templates.
Points I've run into that would be good to document:
1- Kotlin templates need to be named with
.kte
, you can't use Kotlin code in a.jte
file.2- Add the
jte-kotlin
dependency usingcompileOnly
so it doesn't bring in the Kotlin compiled (~60mb)3- Various gotchas and error messages
@for
block error messages4- Sub-tempate syntax:
Would these additions be welcome as a new section in the docs?
The text was updated successfully, but these errors were encountered: