You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The info.app.name, info.app.version and info.app.grailsVersion configuration values should not be hard coded in the generated grails-app/conf/application.yml file.
In earlier versions of Grails these values where set in application.yml as:
I believe it's preferable to return these values to placeholders, eliminating the need for updates in multiple locations. It would be even better if we in the future could remove them from the application.yml file, as they contribute unnecessary clutter without providing any value for the developer. But removing them now, for some reason, makes them unavailable in production environment.
The text was updated successfully, but these errors were encountered:
matrei
changed the title
Generated application.yml should not specify info.app.* values
Generated application.yml should not hard code info.app.* values
Nov 10, 2023
Description
The
info.app.name
,info.app.version
andinfo.app.grailsVersion
configuration values should not be hard coded in the generatedgrails-app/conf/application.yml
file.In earlier versions of Grails these values where set in application.yml as:
In Grails 6 they are set as:
I believe it's preferable to return these values to placeholders, eliminating the need for updates in multiple locations. It would be even better if we in the future could remove them from the
application.yml
file, as they contribute unnecessary clutter without providing any value for the developer. But removing them now, for some reason, makes them unavailable in production environment.The text was updated successfully, but these errors were encountered: