Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 871 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 871 Bytes

This repository contains two Spring Boot 2 apps as an example of an issue with properties injection.

Recently introduced support for parsing human-readable format of java.time.Duration properties is incomplete. It works for properties injected into a structured object through @ConfigurationProperties, but it does not work for properties injected through @Value.

There are two Spring Boot 2 applications in this repository, each of which defines just one bean that needs a Duration property to be injected from application.yml: