• Andy Wilkinson's avatar
    Make serialization of @ConfigurationProperties beans more defensive · 85dc89e1
    Andy Wilkinson authored
    Previously, serialization of a @ConfigurationProperties bean to JSON
    would fail if:
    
    - A property on the bean returned the bean (the bean was
      self-referential)
    - An exception was thrown when attempting to retrieve a property's
      value.
    
    This commit makes the serialization more defensive by skipping any
    property that is affected by either of the problems described above.
    Debug logging has been added to aid diagnosis of missing properties.
    
    Closes gh-10846
    85dc89e1
Name
Last commit
Last update
..
src Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...