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

Support container only detectable at runtime for global cascaded validation and introduce a cache for the value extractors

    Details

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

      Description

      As of PR https://github.com/hibernate/hibernate-validator/pull/814, for cascaded validation the potentially applicable value extractors ("candidate VEs") will be computed once per location. At runtime the applicable VE must then be selected amongst the candidate VEs. We should explore whether that second step benefits from maintaining a cache of VE (type) by value type.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: