Skip to content

Conversation

@rainboyan
Copy link
Contributor

Currently custom localeResolver only allow defining beans in resources.groovy, I think custom localeResolver and localeChangeInterceptor beans could be defined in Configuration, this will be benefit from Spring Boot @EnableAutoConfiguration with spring-boot-starters.

The priority order of loading Bean is,
GrailsPlugin > Configuration > resources.groovy

So, this PR will not change the default Grails way.

Define localResolver and localeChangeInterceptor bean in Configuration inplace of the Plugin
@rainboyan rainboyan marked this pull request as draft April 13, 2022 07:46
@rainboyan rainboyan closed this Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant