jdaugherty commented on code in PR #14953:
URL: https://github.com/apache/grails-core/pull/14953#discussion_r2265297893


##########
grails-test-examples/micronaut/src/integration-test/groovy/micronaut/BeanInjectionServiceSpec.groovy:
##########
@@ -49,9 +49,9 @@ class BeanInjectionServiceSpec extends Specification {
         service != null
     }
 
-    void "test there are two beans for a Grails service when we inject 
Micronaut bean in it"() {
+    void "test there are 1 bean for a Grails service when we inject Micronaut 
bean in it"() {
         expect:
         bInjectService != null
-        bInjectService.size() == 2
+        bInjectService.size() == 1
     }

Review Comment:
   I was curious about this too, but I ran the original code in 6.x and noticed 
that one bean was a micronaut bean and one was a spring bean.  With the starter 
approach, I believe the strategy is take the spring beans and define them in 
the micronaut context instead of the previous approach where the micronaut 
context was defined first.  



-- 
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