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

Deprecate setValidator method in builders for ListAttributeDefinition and MapAttributeDefinition

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Management
    • None

      Let's discuss before doing anything on this.

      For lists and maps, the builder call to setValidator is really a call to setElementValidator, with a call to set[List|Map]Validator being necessary if some special validation of the overall list/map is desired.

      We should deprecate setValidator to help emphasize to people that really setElementValidator is what is happening.

              Unassigned Unassigned
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: