Daniel Keir Haywood created ISIS-2239:
-----------------------------------------

             Summary: Use @Validated for base-path config properties
                 Key: ISIS-2239
                 URL: https://issues.apache.org/jira/browse/ISIS-2239
             Project: Isis
          Issue Type: Improvement
            Reporter: Daniel Keir Haywood
            Assignee: Daniel Keir Haywood
             Fix For: 2.0.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to