]
Brian Stansberry updated WFCORE-3091:
-------------------------------------
Git Pull Request:
ListValidator should implement MinMaxValidator
----------------------------------------------
Key: WFCORE-3091
URL:
https://issues.jboss.org/browse/WFCORE-3091
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
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.