Polishing.
Adjust grammar. Mention that we use proxies for PropertyValueConverter registration when using method handles. Original pull request: #4553 See #4536
This commit is contained in:
@@ -74,6 +74,8 @@ registrar.registerConverter(Person.class, Person::getSsn())
|
||||
|
||||
<1> Register a converter for the field identified by its name.
|
||||
<2> Type safe variant that allows to register a converter and its conversion functions.
|
||||
This method uses class proxies to determine the property.
|
||||
Make sure that neither the class nor the accessors are `final` as otherwise this approach doesn't work.
|
||||
====
|
||||
|
||||
WARNING: Dot notation (such as `registerConverter(Person.class, "address.street", …)`) for nagivating across properties into subdocuments is *not* supported when registering converters.
|
||||
|
||||
Reference in New Issue
Block a user