lburgazzoli commented on a change in pull request #83: Experimental IDE 
auto-completion using grape
URL: https://github.com/apache/camel-k-runtime/pull/83#discussion_r294901994
 
 

 ##########
 File path: 
camel-k-runtime-groovy/src/main/groovy/org/apache/camel/k/groovy/GroovyRoutesLoader.groovy
 ##########
 @@ -36,6 +36,9 @@ class GroovyRoutesLoader implements RoutesLoader {
         return new RouteBuilder() {
             @Override
             void configure() throws Exception {
+                Builder.delegate = this
 
 Review comment:
   this is problematic if you load multiple groovy files as the static field is 
going to be overridden (you may be lucky because they are loaded sequentially 
but there's no guarantees)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to