codeconsole commented on PR #15934:
URL: https://github.com/apache/grails-core/pull/15934#issuecomment-4918652935

   > Can we also add a test example that explicitly exercises the new registrar 
functionality?
   
   Added — the `loadafter` plugin now also registers a bean through 
`beanRegistrar()` (using the concise closure-coercion form), app3's 
`Application` declares a matching `@ConditionalOnMissingBean` default, and 
`PluginBeansBeforeAutoConfigurationSpec` asserts the registrar's bean wins in a 
real boot. It passes alongside the existing `doWithSpring` case. There's also 
unit coverage in `EarlyPluginRegistrationOrderingSpec` (a `beanRegistrar()` 
bean winning a `@ConditionalOnMissingBean` race, and the coerced-closure form).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to