Closed codeconsole closed 1 month ago
This should probably not have been merged to 6.2.x as it is a new feature. I missed that in my review.
@matrei idk, I don't consider this a "new feature". Any existing usages produce exactly the same content as before. if the standard was to do a new minor release every time an attribute or variable was changed, Spring Boot would be on version 10,000 by now. We need to adopt a Spring Boot versioning model. Especially considering we do not have the resources to maintain multiple minor releases.
@codeconsole I don't think Spring Boot introduce new features or change public API in patch releases. Prove me wrong 😉
@matrei this is a "bug fix". Change the title to "g.render should not always throw and exception when a template does not exist" :P
Very useful for scaffolding where you could use the same scaffold gsp across multiple controls and produce different behavior. Without the
optional
attribute the default behavior persists and an exception is thrown.For instance:
/src/main/templates/show.gsp