Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-471

Allow DomainValidator overrides at run-time

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7
    • None
    • None

    Description

      It would be useful to allow DomainValidator instances to be created with different overrides.
      Currently this is not possible because there are only two cached instances.
      As such, it's not possible to make changes after initialisation.

      The class could be extended allow further instances to be created, whilst still keeping the existing behaviour for the cached instances.

      This would allow users to create further instances with local changes to the Generic and CountryCode lists.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment