jdaugherty commented on code in PR #16496:
URL: https://github.com/apache/grails-core/pull/16496#discussion_r4175565467
##########
grails-test-examples/mongodb/springboot/src/test/groovy/example/SpringBootStartMongoExtension.groovy:
##########
@@ -44,6 +44,8 @@ class SpringBootStartMongoExtension implements
IGlobalExtension {
@Override
void visitSpec(SpecInfo spec) {
spec.addSharedInitializerInterceptor { invocation ->
+ // The spec's own shared fields first: this runs in place of their
initializers.
+ invocation.proceed()
Review Comment:
Doesn't this mean that setupSpec() will run *before* the value is written to
the field below? Shouldn't the invocation occur after write?
--
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]