application(WebApplicationType.NONE, ...) to application(...)
application(WebApplicationType.SERVLET, ...) to webApplication(...)
application(WebApplicationType.REACTIVE, ...) to reactiveWebApplication(...)
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.
This issue is about changing:
application(WebApplicationType.NONE, ...)
toapplication(...)
application(WebApplicationType.SERVLET, ...)
towebApplication(...)
application(WebApplicationType.REACTIVE, ...)
toreactiveWebApplication(...)
This change was proposed by @poutsma since
WebApplicationType
usage is probably not optimal for such commonly used API, especially theWebApplicationType.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.