Open vincentlauvlwj opened 5 years ago
Create an entity like it's a data class.
Now:
Department {
id = 123
name = "tect"
}
Expected:
Department(
id = 123,
name = "tect"
)
Or we can write a compiler plugin? https://www.youtube.com/watch?v=w-GMlaziIyo
这个点非常好,大大简化模板代码。
Something like https://github.com/TouK/krush would be great!
Consider introducing annotation processor tools to generate boilerplate codes like:
It's annoying to write those companion objects and to override
aliased
functions...