Uploaded image for project: 'Hibernate Validator'
  1. HV-1441

Clean up the initialization of CascadingMetaData

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.1.Final
    • Component/s: engine
    • Labels:
      None

      Description

      The initialization was quite cumbersome as a CascadingMetaData could be initialized just to be able to throw an error on a group conversion (see the calls to validateGroupConversions).

      It was done like that because the context was necessary for the log message.

      The fact is that we now really need a proper initialization sequence and, after giving it some thoughts, it appears we can get a good enough context for the log message when initializing the CascadingMetaData.

        Attachments

          Activity

            People

            • Assignee:
              gsmet Guillaume Smet
              Reporter:
              gsmet Guillaume Smet
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: