You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the method stringifyIfNecessary should have branches for all the standard boxed types as well as BigDecimal and BigInteger.
To reproduce you can spin up a standard project from https://start.spring.io/ and include "Spring Web" and "Spring boot actuator" as dependencies and then visit the env endpoint.
The text was updated successfully, but these errors were encountered:
scottfrederick
changed the title
Spring-boot 2.4: Boxed types like Integer/Boolean/Double are no longer displayed in env endpoint
Wrapper types are not displayed in actuator env endpoint
Dec 1, 2020
We have upgraded on off our projects at work to Spring boot 2.4. It seems like the way properties are serialized under /actuator/env had changed.
For example we used to be able to get the server.port like this:
After upgrading it instead looks like:
I tracked it to this recent commit:
1a3f810
I think the method stringifyIfNecessary should have branches for all the standard boxed types as well as BigDecimal and BigInteger.
To reproduce you can spin up a standard project from https://start.spring.io/ and include "Spring Web" and "Spring boot actuator" as dependencies and then visit the env endpoint.
The text was updated successfully, but these errors were encountered: