spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 138 forks source link

Remove WebApplicationType from application API #269

Closed sdeleuze closed 4 years ago

sdeleuze commented 4 years ago

This issue is about changing:

This change was proposed by @poutsma since WebApplicationType usage is probably not optimal for such commonly used API, especially the WebApplicationType.NONE variant.

Another reason for such change is to improve GraalVM native support since that allows to use new FooApplicationContext() instead of using reflection, which leads to smaller native images and less reflection configuration.