ConfigMe icon indicating copy to clipboard operation
ConfigMe copied to clipboard

Property with default value from Supplier

Open ljacqu opened this issue 2 years ago • 0 comments

Especially for beans it might be interesting to only have the default value be created if it's really needed, i.e. to supply a Supplier for the default value.

Downsides:

  • fail-fast kind of breaks since a default value might be null from a Supplier and integrators don't notice it until it becomes relevant
  • breaking change

Related:

  • #12
  • #164

ljacqu avatar Aug 30 '23 14:08 ljacqu