Michael Yan

Results 13 issues of Michael Yan

When profile jar or other jar include `META-INF/grails-profile/profile.yml` on the classpath, load profile with url will return wrong profile, because `getResource` will find parent loader path first, if not found...

Use org.grails.plugins.codecs.CodecsGrailsPlugin instead Generate the correct descriptor grails-plugin.xml, because there are two `CodecsGrailsPlugin`.

Spring Boot 2.2 M1, Provide a configuration option to enable lazy initialisation, see https://spring.io/blog/2019/03/14/lazy-initialization-in-spring-boot-2-2 related issue: https://github.com/grails/grails-core/issues/12500

Grails core why load domainClass plugin? If a grails app not have Domain and GORM layer, it will be also OK. So, I submit a PR to remove it, to...

### Expected Behavior It should see `demo` When add `@ComponentScan` to `Application`, it run success. Grails support `grails.spring.bean.packages`, but I think this config for external packages, Grails App should auto...

### Feature description Spring Framework invoke the BeanDefinitionRegistryPostProcessors that implement `PriorityOrdered` first, then `Ordered`, and the rest will be last invoked. But `GrailsApplicationPostProcessor` is not Ordered, If Grails user create...

### Feature description Currently, `DefaultGrailsPluginManager` was hardcoded in `GrailsApplicationPostProcessor`. Grails has a `ProfilingGrailsPluginManager`, I want to use it for testing performance, but I can't. ``` GrailsApplicationPostProcessor(GrailsApplicationLifeCycle lifeCycle, ApplicationContext applicationContext, Class...classes)...

### Expected Behavior Developers need to know how many core plugins and user-defined plugins are loaded in total and how long it took. Currently, only part of the information is...

### Expected Behavior ``` jsonView = 2.2.1 eventBus = 4.0.0 controllersAsync = 4.0.0 ``` ### Actual Behaviour ``` 2022-05-28 22:07:25.334 INFO --- [ restartedMain] g.plugins.DefaultGrailsPluginManager : Attempting to load [0]...

### Expected Behavior Ideally the message should not be logged. Spring use `BeanPostProcessorChecker` to notify the user whenever a bean that is neither a BeanPostProcessor nor an infrastructure bean. In...