Juan-Carlos Foust
01/05/2021, 6:38 AMforrest
01/05/2021, 3:59 PMByron Katz
01/06/2021, 12:28 AMFilip Lastic
01/09/2021, 6:54 AMJeff
01/18/2021, 8:11 AMTauhid Rehman
01/19/2021, 9:12 AMif (error.contains (specialCase)) {
throw specialCaseException
}
<http://LOGGER.info|LOGGER.info>("logspecialCaseInfoAsInfo")
Júlio Santos
01/20/2021, 12:43 PMServer-Sent Events
? I'm struggling to find clear examplesJoaquim Costa
01/20/2021, 9:50 PM>The no-arg compiler plugin generates an additional zero-argument constructor for classes with a specific annotation.
The generated constructor is synthetic so it can’t be directly called from Java or Kotlin, but it can be called using reflection.
https://kotlinlang.org/docs/reference/compiler-plugins.html#no-arg-compiler-pluginexample Person.kt
@Entity class Person(
@Id var id:Long?=0,
var type:String="A"
){
var description:String="none"
}
Cheenu Soni
01/21/2021, 1:35 AMCheenu Soni
01/22/2021, 3:00 AM2021-01-22 07:53:46.910 [main] INFO Application - No ktor.deployment.watch patterns specified, automatic reload is not active
2021-01-22 07:53:47.642 [main] INFO Application - Responding at <http://0.0.0.0:8080>
I only got this outputZeeshan Syed
01/22/2021, 4:27 AMSlackbot
01/23/2021, 11:05 PMMark
01/25/2021, 1:39 AMAkshay Shah
01/27/2021, 5:50 PMPengChunxiao
01/28/2021, 9:24 AMdave
01/29/2021, 3:26 PMLucas Milotich
02/01/2021, 11:39 AMJúlio Santos
02/04/2021, 5:26 PMJeff
02/08/2021, 6:17 AMTamer Shahin
02/08/2021, 9:45 AMrocketraman
02/08/2021, 6:57 PMAaron Chancey
02/09/2021, 4:51 PMMark
02/09/2021, 8:30 PMTarun Chawla
02/12/2021, 8:30 AMDenis Ambatenne
02/12/2021, 9:53 AMYASAN
02/13/2021, 6:15 AMJason5lee
02/15/2021, 2:10 AMRob Elliot
02/19/2021, 11:18 AM@Entity data class MyImmutableEntity(val jsonString: String) {
@javax.persistence.Transient private val jsonMap: Map<String, Any> by lazy {
jacksonObjectMapper().readValue(jsonString)
}
fun getJsonMap(): Map<String, Any> = jsonMap
}
The compiler complains about @Transient
- This annotation is not applicable to target 'member property with delegate'
.
Anyone know of a workaround for this?jean pokou
02/23/2021, 1:01 PMdave
02/24/2021, 1:54 PMdave
02/24/2021, 1:54 PMRobert Jaros
02/24/2021, 2:33 PMasad.awadia
02/24/2021, 3:17 PMdave
02/24/2021, 3:19 PMedrd
02/24/2021, 5:03 PMjust
is an alternative JS runtime, in development stagedave
02/24/2021, 5:29 PM