Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2239

Use @Validated for base-path config properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • None
    • None

    Description

      The WebModuleWicket and WebModuleRestfulObjects both require that their respective base-path config properties start and end with a '/'; they will coerce the supplied value if necessary.

      Instead, we could enforce this rule using @Validated @ConfigurationProperties.  This will fail-fast and allow us to delete code.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: