In one of my projects I let Spring Boot automatically bind domain objects from the database.
This fails in the reduced unit test setup, because DomainClassConverter
is not available. But it can be mocked!
In one of my projects I let Spring Boot automatically bind domain objects from the database.
This fails in the reduced unit test setup, because DomainClassConverter
is not available. But it can be mocked!
The Google phone number parser & formatter is very helpful to ensure the same number format for user prodived data. To simplify the use in Spring Boot application with Thymeleaf I created a wrapping TagLib/ExpressionFactory.
When I started to use Spring Boot I had some issues with the validation. The @Validated annotation triggered the validation as requested but the validation terminated with an org.springframework.validation.BindException
instead of filling the BindingResult
object.
During learning Spring Boot I noticed attributes to methods in Spring Boot controllers can be automatically injected.
To migrate my blog from Grails to Spring Boot I created an implementation to inject the current blog instance based on an session attribute.
Using the asset pipline in Grails, the production CSS and Javascript files have been including with a digest appendix. This feature is not available in Spring Boot, therefore I started to create a simple Thymeleaf tag library.
© 2015 - 2022 Moritz Kobel
Theme by Anders Noren — Up ↑