Skip to content

Commit

Permalink
Merge branch '3.2.x' into 3.3.x
Browse files Browse the repository at this point in the history
Closes gh-41585
  • Loading branch information
wilkinsona committed Jul 23, 2024
2 parents d9360a0 + 9bb0c45 commit db4b483
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,8 @@ NOTE: The use of `java.util.Optional` with `@ConfigurationProperties` is not rec
As such, it is not well-suited to configuration property injection.
For consistency with properties of other types, if you do declare an `Optional` property and it has no value, `null` rather than an empty `Optional` will be bound.

TIP: To use a reserved keyword in the name of a property, such as `my.service.import`, use the `@Name` annotation on the constructor parameter.



[[features.external-config.typesafe-configuration-properties.enabling-annotated-types]]
Expand Down

0 comments on commit db4b483

Please sign in to comment.