On Wed, 29 Jun 2022 00:17:53 GMT, John Hendrikx <[email protected]> wrote:

> Any suggestions what I should add?
> 
> I can add a `@see` tag, and/or I could add a note in the description, 
> something along the line of "Note: since 19, ObservableValue#flatMap directly 
> supports creating new bindings for JavaFX properties."
> 
> Note that `Bindings.select` also allows for JavaBeans properties, which are 
> not supported by `flatMap`.

I think we should not only inform, but advise people to use `flatMap`:
"Since 19, it is recommended to use ObservableValue#flatMap to select a nested 
member of an ObservableValue."

-------------

PR: https://git.openjdk.org/jfx/pull/675

Reply via email to