• Andy Wilkinson's avatar
    Reinstate support for spring.groovy.template.configuration.* · defceec9
    Andy Wilkinson authored
    Previously, spring.groovy.template.configuration.* was mapped onto both
    GroovyTemplateProperties.configuration and GroovyMarkupConfigurer. The
    former being a Map and the latter being specific type with getters and
    setters. This clash caused problems with the IDE support.
    
    GroovyTemplateProperties.configuration appeared to be dead code so it
    was removed in 326bdf29. Unfortunately this broke the use of
    spring.groovy.template.configuration.* properties as
    GroovyTemplateProperties uses a prefix of spring.groovy.template and it
    no longer had a configuration property.
    
    This commit addresses the problem by updating GroovyTemplateProperties
    to ignore unknown fields. This allows
    spring.groovy.template.configuration.* properties to be used and bound
    to GroovyMarkupConfigurer without reintroducing the clash which prompted
    the initial change.
    
    Closes gh-3198
    
    defceec9
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...