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

Deprecate setValidator method in builders for ListAttributeDefinition and MapAttributeDefinition

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: