Pere Casafont
03/01/2018, 10:13 AMpoohbar
03/01/2018, 7:40 PMpoohbar
03/01/2018, 7:41 PMsdeleuze
03/01/2018, 8:09 PMlateinit var
it is not so bad, we are likely to fix that in Boot 2.1sdeleuze
03/01/2018, 8:12 PMaleksandrsl
03/02/2018, 8:11 AMTestEntityManager
in @BeforeAll
annotated method in TestInstance.Lifecycle.PER_CLASS
tests?Pere Casafont
03/05/2018, 11:19 AMpoohbar
03/05/2018, 3:34 PMPere Casafont
03/05/2018, 4:34 PMdmnk_89
03/05/2018, 4:36 PMPere Casafont
03/05/2018, 4:57 PMsdeleuze
03/06/2018, 10:22 AMmasted
03/07/2018, 7:57 AM@Component
val myTopLevelProperty = "Some Data Here"
@Configuration
class SomeConfig {
@Autowired
private lateinit var autowiredList: List<String>
}
enleur
03/12/2018, 11:14 PMsendilkumarn [JHipster]
03/12/2018, 11:48 PMNikartix
03/14/2018, 8:32 AMNikartix
03/15/2018, 7:49 AMNikartix
03/15/2018, 7:56 AMpoohbar
03/15/2018, 12:35 PM@RequestParam(name = "custom-name", required = false)
Czar
03/15/2018, 12:58 PM@RequestParam(name = "custom-name", required = false, defaultValue="your_default")
Last time I checked Kotlin native default parameters did not work, but defaultValue
in annotation did.sdeleuze
03/15/2018, 2:15 PMrequired = false
since it will be inferred from Kotlin type system : @RequestParam("custom-name") foo: Foo?
poohbar
03/15/2018, 2:16 PMdiesieben07
03/15/2018, 2:18 PMsdeleuze
03/15/2018, 2:21 PMdiesieben07
03/15/2018, 2:23 PMfun get(@RequestParam limit: Int = 20)
looks more natural to me than fun get(@RequestParam(defaultValue = "20") limit: Int)
. The latter is also not really type-safe, since defaultValue
is always a String.diesieben07
03/15/2018, 2:24 PMcallBy
to call the method instead of normal method call.
I am not sure if it is at all possible to fit that onto the chain of method interceptors that spring uses.diesieben07
03/15/2018, 2:54 PMInvocableHandlerMethod
it seems somewhat possible.sdeleuze
03/15/2018, 3:07 PMdiesieben07
03/15/2018, 3:22 PM