roberto.guerra
07/11/2017, 5:06 PMant
🧌roberto.guerra
07/11/2017, 5:06 PMgradle
option either.kenkyee
07/11/2017, 7:21 PMkenkyee
07/11/2017, 7:21 PMsdeleuze
07/12/2017, 8:35 AMsdeleuze
07/12/2017, 9:41 AMprofile(profile: String)
as well as a more flexible environment(condition: (Environement -> Boolean)
functions to the function Kotlin bean registration DSL
beans {
bean<Foo>()
profile("bar") {
bean<Bar>("bar")
}
environment({it.activeProfiles.contains("baz")}) {
bean { Baz(it.ref<Bar>()) }
bean { Baz(it.ref("bar")) }
}
}
sdeleuze
07/12/2017, 4:23 PMssouris
07/12/2017, 6:03 PMsdeleuze
07/13/2017, 12:39 PMsdeleuze
07/13/2017, 12:40 PMziad
07/13/2017, 8:00 PMRooms
- A class that will allow an api consumer to interact with rooms
RoomsController
- A domain specific class that I will use to do things with a room instance
Room
dharrigan
07/14/2017, 3:05 PMivano
07/15/2017, 10:53 PMivano
07/15/2017, 10:53 PMsdeleuze
07/24/2017, 12:45 PMsdeleuze
07/24/2017, 12:45 PMeddumelendez
07/25/2017, 1:06 AMsdeleuze
07/26/2017, 8:32 AMjackson-module-kotlin
is going to be included by default with Spring Boot JSON starter 🙂 https://github.com/spring-io/initializr/issues/462#issuecomment-317963960sdeleuze
07/26/2017, 8:32 AMdariuszbacinski
07/26/2017, 10:03 AMdariuszbacinski
07/26/2017, 10:06 AMapply plugin: 'kotlin-spring'
declared in build.gradlesdeleuze
07/26/2017, 10:07 AM1.1.2-5
or 1.1.3-2
and make sure to refresh your Gradle IDE conf + try running the app on commande linesdeleuze
07/26/2017, 10:07 AMsdeleuze
07/26/2017, 10:08 AMsdeleuze
07/26/2017, 10:08 AMsdeleuze
07/26/2017, 10:09 AMdariuszbacinski
07/26/2017, 11:48 AMall-open
plugin in version 1.1.1
opens private methods, but starting from 1.1.2
only public methods are being opened, I am getting this warning only for private methods. Any idea why would Spring need to create proxy for private methods, it seams not possible without reflection hacks?dariuszbacinski
07/26/2017, 11:51 AMdariuszbacinski
07/26/2017, 11:59 AMdariuszbacinski
07/26/2017, 12:02 PM