Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3091

ListValidator should implement MinMaxValidator

    Details

      Description

      If the kernel detects an attribute uses MinMaxValidator it uses the min and max to report min/max or min-length/max-length metadata, with the "-length" option used for model types where that is appropriate. So MinMaxValidator is appropriate for LIST attributes since the data will be reported correctly.

      But the primary validator for lists, ListValidator does not implement MinMaxValidator even though it stores and uses a min and max for its validation.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: